Making an armv7 module

You must Login before you can answer or comment on any questions.

Hi, I have to make a module with binaries (*.a) that are made only for armv7. In the past modules need to be for armv6 AND armv7. now with TI SDK 2.1.3 and IOS SDK 6.0, will it be ok ? should I use the <min-ios-ver>4.3</min-ios-ver> flag in tiapp.xml ? Regards

2 Answers

Accepted Answer

Hi Armindo, just make your normal module with 2.1.3.GA and it will work for ARM7 devices. Just remember to include iOS 6 related framework where ever required.

— answered 8 months ago by Ashish Nigam
answer permalink
7 Comments
  • Thanks Ashish

    — commented 8 months ago by Armindo Da Silva

  • Humm, when trying to launch the app on simulator I get this error message :

    [ERROR] clang: error: linker command failed with exit code 1 (use -v to see invocation)
    [ERROR] 
    [ERROR] Error: Traceback (most recent call last):
      File "/Users/ads/Library/Application Support/Titanium/mobilesdk/osx/2.1.3.GA/iphone/builder.py", line 1325, in main
        execute_xcode("iphonesimulator%s" % link_version,["GCC_PREPROCESSOR_DEFINITIONS=__LOG__ID__=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s %s %s" % (log_id,sdk_version,debugstr,kroll_coverage)],False)
      File "/Users/ads/Library/Application Support/Titanium/mobilesdk/osx/2.1.3.GA/iphone/builder.py", line 1231, in execute_xcode
        output = run.run(args,False,False,o)
      File "/Users/ads/Library/Application Support/Titanium/mobilesdk/osx/2.1.3.GA/iphone/run.py", line 41, in run
        sys.exit(rc)
    SystemExit: 65
    Any idea ?

    — commented 8 months ago by Armindo Da Silva

  • Hi Armindo, there must be a build.log file and its path will be shown at the end of titanium run command when failed. so check that log file and paste the content here last 50 line most important one which says what is missing.

    — commented 8 months ago by Ashish Nigam

  • Show 4 more comments

We recently delivered an app with Ti SDK 2.1.3.GA and iOS SDK 6.0 and it is working fine. Moreover, you need to add few OTHER_LDFLAGS lines in the module.xcconfig file for 6.0 if building a module.

Also, we didn't put <min-ios-ver>4.3</min-ios-ver> flag in tiapp.xml and it worked wonders.

I hope this helps & addresses your need.

Your Answer

Think you can help? Login to answer this question!