{ "id": "151411", "key": "AC-378", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2015-11-14T00:58:48.000+0000", "created": "2015-09-23T13:40:29.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-11-14T00:58:48.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14552", "name": "Appcelerator CLI", "description": "Please enter tickets related to Tooling and the CLI here" }, { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Attempting to build any project to my iPhone 6+ running iOS 9 other any Ti SDK 5.0.0.GA results in the following linker error:\r\n\r\n{code}\r\n[TRACE] ld: '/Users/terrymorgan/Documents/Titanium_Studio_Workspace/test/build/iphone/lib/libti_ios_profiler.a(TiProfilerDiscovery.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64\r\n[TRACE] clang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n[TRACE] Ld build/test.build/Debug-iphoneos/test-universal.build/Objects-normal/armv7/test normal armv7\r\n[TRACE] cd /Users/terrymorgan/Documents/Titanium_Studio_Workspace/test/build/iphone\r\n[TRACE] export IPHONEOS_DEPLOYMENT_TARGET=7.0\r\n[TRACE] export PATH=\"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/terrymorgan/.nvm/v0.10.38/bin:/usr/local/opt/rbenv/shims:/usr/local/heroku/bin:/usr/local/opt/rbenv/shims:/usr/local/opt/rbenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/terrymorgan/.rbenv/shims:/Users/terrymorgan/.rbenv/bin:~/bin:/usr/local/bin:/usr/local/sbin:/Users/terrymorgan/pear/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/share/npm/bin:/Users/terrymorgan/bin:/Users/terrymorgan/Library/Android/sdk/platform-tools:/Users/terrymorgan/Library/Android/sdk/tools:/Users/terrymorgan/Development/adt-bundle-mac-x86_64-20140321/sdk/platform-tools:/Users/terrymorgan/Development/adt-bundle-mac-x86_64-20140321/sdk/tools:/Users/terrymorgan/Development/adt-bundle-mac-x86_64-20140321/eclipse:/usr/local/opt/go/libexec/bin\"\r\n[TRACE] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk -L/Users/terrymorgan/Documents/Titanium_Studio_Workspace/test/build/iphone/build/Debug-iphoneos -L/Users/terrymorgan/Documents/Titanium_Studio_Workspace/test/build/iphone/lib -L/Users/terrymorgan/Documents/Titanium_Studio_Workspace/test/build/iphone/Classes/APSAnalytics -L/Users/terrymorgan/Documents/Titanium_Studio_Workspace/test/build/iphone/Classes/APSHTTPClient -F/Users/terrymorgan/Documents/Titanium_Studio_Workspace/test/build/iphone/build/Debug-iphoneos -filelist /Users/terrymorgan/Documents/Titanium_Studio_Workspace/test/build/iphone/build/test.build/Debug-iphoneos/test-universal.build/Objects-normal/armv7/test.LinkFileList -miphoneos-version-min=7.0 -dead_strip -fembed-bitcode -Xlinker -bitcode_hide_symbols -Xlinker -bitcode_symbol_map -Xlinker /Users/terrymorgan/Documents/Titanium_Studio_Workspace/test/build/iphone/build/Debug-iphoneos -ObjC -weak_framework iAd -fobjc-link-runtime -stdlib=libc++ -lti_ios_profiler -framework CoreMedia -weak_framework CoreMotion -lAPSAnalytics -weak_framework CoreText -framework EventKit -framework EventKitUI -weak_framework Security -framework Foundation -weak_framework UIKit -framework CoreGraphics -framework AddressBook -framework AddressBookUI -framework CFNetwork -framework CoreLocation -weak_framework MapKit -framework MessageUI -framework MobileCoreServices -lti_ios_debugger -framework OpenGLES -framework QuartzCore -framework SystemConfiguration -lsqlite3 -lz -framework AudioToolbox -lAPSHTTPClient -weak_framework MediaPlayer -framework AVFoundation -lxml2 -framework StoreKit -lTiCore -ltiverify -licucore -Xlinker -dependency_info -Xlinker /Users/terrymorgan/Documents/Titanium_Studio_Workspace/test/build/iphone/build/test.build/Debug-iphoneos/test-universal.build/Objects-normal/armv7/test_dependency_info.dat -o /Users/terrymorgan/Documents/Titanium_Studio_Workspace/test/build/iphone/build/test.build/Debug-iphoneos/test-universal.build/Objects-normal/armv7/test\r\n[TRACE] ld: '/Users/terrymorgan/Documents/Titanium_Studio_Workspace/test/build/iphone/lib/libti_ios_profiler.a(TiProfilerDiscovery.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7\r\n[ERROR] ** BUILD FAILED **\r\n[ERROR] The following build commands failed:\r\n[ERROR] Ld build/test.build/Debug-iphoneos/test-universal.build/Objects-normal/arm64/test normal arm64\r\n[ERROR] (1 failure)\r\n{code}\r\n\r\nI have tried the following Ti SDK versions, all with the same result:\r\n\r\n* 3.5.1.GA\r\n* 4.0.0.GA\r\n* 4.1.1.GA\r\n\r\nI see the same error from both the CLI & studio and I also see the same error for both brand new & existing projects.", "attachment": [], "flagged": false, "summary": "Library \"does not contain bitcode\" error when building to iOS 9 device with Titanium SDK < 5.0.0", "creator": { "name": "shodan_uk", "key": "shodan_uk", "displayName": "Terry Morgan", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "shodan_uk", "key": "shodan_uk", "displayName": "Terry Morgan", "active": true, "timeZone": "Europe/London" }, "environment": "Mac OSX 10.10.5 (Yosemite)\r\nTi CLI 5.0.4\r\nNode 0.10.38\r\nXcode 7 (build 7A220)\r\niOS 9 on iPhone 6+", "comment": { "comments": [ { "id": "365142", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is unfortunately expected. Xcode 7 turns on bitcode by default if there is not an explicit setting for turning it off. Since SDKs prior to 5.0.0 have no knowledge of bitcode, they don't know how to turn it off.\r\n\r\nThe current workaround is, after you build using Xcode 7, you can open the Xcode 7 project that was created and set the 'enable bitcode' to NO.\r\n\r\nIt is possible you could edit the default template in earlier SDKs to add this setting manually:\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/blob/5_0_X/iphone/iphone/Titanium.xcodeproj/project.pbxproj#L2733\r\n\r\n\r\n\r\n", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-28T19:28:43.000+0000", "updated": "2015-09-28T19:28:43.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }