Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1020] How to add a module ios version specific...

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2015-08-12T07:03:13.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
LabelsTCSupportTriage, ios, ios8, module, titanium
Reportervijay
AssigneeMostafizur Rahman
Created2014-10-16T10:43:59.000+0000
Updated2016-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.

Comments

  1. vijay 2014-10-17

    I have also tried: OTHER_LDFLAGS[sdk=iphoneos8*]=$(inherited) -framework PassKit OTHER_LDFLAGS[sdk=iphonesimulator8*]=$(inherited) -framework PassKit
  2. Amimul Hossain 2015-07-05

    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.

JSON Source