Skip to content

Commit

Permalink
Update with Apple Silicon Support
Browse files Browse the repository at this point in the history
Built with latest Ti SDK and added Apple Silicon Support.
  • Loading branch information
dlewis23 committed May 24, 2022
1 parent d65d586 commit 5091225
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 26 deletions.
28 changes: 9 additions & 19 deletions iphone/Classes/TiJbchartModuleAssets.m
Original file line number Diff line number Diff line change
@@ -1,34 +1,24 @@
/**
* Ti.JBChart (https://github.com/benbahrenburg/Ti.JBChart)
*
* Titanium code Copyright (c) 2009-2014 by Ben Bahrenburg. All Rights Reserved.
* Licensed under the terms of the Apache 2.0 License
* Please see the LICENSE included with this distribution for details.
*
* Ti.JBChart is a Titanium wrapper for JBChartView
* for more information please visit https://github.com/Jawbone/JBChartView
* This is a generated file. Do not edit or your changes will be lost
*/

#import "TiJbchartModuleAssets.h"

extern NSData* filterDataInRange(NSData* thedata, NSRange range);

@implementation TiJbchartModuleAssets

- (NSData*) moduleAsset
- (NSData *)moduleAsset
{
//##TI_AUTOGEN_BEGIN asset
//Compiler generates code for asset here
return nil; // DEFAULT BEHAVIOR
//##TI_AUTOGEN_END asset


return nil;
}

- (NSData*) resolveModuleAsset:(NSString*)path
- (NSData *)resolveModuleAsset:(NSString *)path
{
//##TI_AUTOGEN_BEGIN resolve_asset
//Compiler generates code for asset resolution here
return nil; // DEFAULT BEHAVIOR
//##TI_AUTOGEN_END resolve_asset


return nil;
}

@end
Binary file added iphone/dist/ti.jbchart-iphone-0.6.Beta.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions iphone/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# this is your module manifest and used by Titanium
# during compilation, packaging, distribution, etc.
#
version: 0.5.Beta
version: 0.6.Beta
apiversion: 2
architectures: armv7 i386 x86_64 arm64
description: tijbchart
Expand All @@ -15,4 +15,4 @@ name: tijbchart
moduleid: ti.jbchart
guid: 27335bd3-8f5b-4ed8-afbe-4113ef13bdab
platform: iphone
minsdk: 3.5.1.GA
minsdk: 10.1.1.GA
1 change: 1 addition & 0 deletions iphone/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"exports":[]}
9 changes: 4 additions & 5 deletions iphone/titanium.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@
// OF YOUR TITANIUM SDK YOU'RE BUILDING FOR
//
//
TITANIUM_SDK_VERSION = 3.5.1.GA
TITANIUM_SDK_VERSION = 10.1.1.GA


//
// THESE SHOULD BE OK GENERALLY AS-IS
//
TITANIUM_SDK = ~/Library/Application Support/Titanium/mobilesdk/osx/$(TITANIUM_SDK_VERSION)
TITANIUM_BASE_SDK = "$(TITANIUM_SDK)/iphone/include"
TITANIUM_BASE_SDK2 = "$(TITANIUM_SDK)/iphone/include/TiCore"
HEADER_SEARCH_PATHS= $(TITANIUM_BASE_SDK) $(TITANIUM_BASE_SDK2)
TITANIUM_SDK = /Users/$(USER)/Library/Application Support/Titanium/mobilesdk/osx/$(TITANIUM_SDK_VERSION)
HEADER_SEARCH_PATHS = $(inherited) "$(TITANIUM_SDK)/iphone/include"
FRAMEWORK_SEARCH_PATHS = $(inherited) "$(TITANIUM_SDK)/iphone/Frameworks/**"



0 comments on commit 5091225

Please sign in to comment.