[AC-1020] How to add a module ios version specific...
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2015-08-12T07:03:13.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | TCSupportTriage, ios, ios8, module, titanium |
Reporter | vijay |
Assignee | Mostafizur Rahman |
Created | 2014-10-16T10:43:59.000+0000 |
Updated | 2016-03-08T07:37:21.000+0000 |
Description
I have created a ios titanium module which have Passkit(iOS8 specific) framework imported optionally. And I wrote (module.xcconfig)-
OTHER_LDFLAGS=$(inherited) -framework PassKit
to ensure that the titanium app which will include this module, app will take this framework.
But when I am running this app(include created module) on iOS7, app is not responding and also not giving any error log but on iOS8 it is working fine.
Is there any way to include module only for iOS8 in titanium app?
Or please give me any suggestion.
I have tried:
OTHER_LDFLAGS[sdk=iphoneos6*]=$(inherited) -framework PassKit OTHER_LDFLAGS[sdk=iphonesimulator6*]=$(inherited) -framework PassKit
And
OTHER_LDFLAGS[sdk=iphoneos6*]=$(inherited) -weak_framework PassKit OTHER_LDFLAGS[sdk=iphonesimulator6*]=$(inherited) -weak_framework PassKit
Thanks in advance.
I have also tried: OTHER_LDFLAGS[sdk=iphoneos8*]=$(inherited) -framework PassKit OTHER_LDFLAGS[sdk=iphonesimulator8*]=$(inherited) -framework PassKit
Hello [~vjsharma], Does your module has only 64bit version support? After running on iOS 7 device or simulator, please provide the log file. Also here is the wiki link on how to develop [iOS module](https://wiki.appcelerator.org/display/guides2/iOS+Module+Development+Guide) for Appcelerator.