{"action":"opened","issue":{"url":"https://api.github.com/repos/Wikitude/wikitude-cordova-plugin/issues/89","labels_url":"https://api.github.com/repos/Wikitude/wikitude-cordova-plugin/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/Wikitude/wikitude-cordova-plugin/issues/89/comments","events_url":"https://api.github.com/repos/Wikitude/wikitude-cordova-plugin/issues/89/events","html_url":"https://github.com/Wikitude/wikitude-cordova-plugin/issues/89","id":110846983,"number":89,"title":"Phonegap iOS9 Support | Bitcode Issue","user":{"login":"repixels","id":14933467,"avatar_url":"https://avatars.githubusercontent.com/u/14933467?v=3","gravatar_id":"","url":"https://api.github.com/users/repixels","html_url":"https://github.com/repixels","followers_url":"https://api.github.com/users/repixels/followers","following_url":"https://api.github.com/users/repixels/following{/other_user}","gists_url":"https://api.github.com/users/repixels/gists{/gist_id}","starred_url":"https://api.github.com/users/repixels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/repixels/subscriptions","organizations_url":"https://api.github.com/users/repixels/orgs","repos_url":"https://api.github.com/users/repixels/repos","events_url":"https://api.github.com/users/repixels/events{/privacy}","received_events_url":"https://api.github.com/users/repixels/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-11T10:10:44Z","updated_at":"2015-10-11T10:10:44Z","closed_at":null,"body":"After installing xcode 7.0, Phonegap produces an error when trying to build the project for a iOS platform.\r\n\r\nBuilding project  : /Users/repixels/Desktop/Sunny/Phonegap Project/SunnyDiscover/platforms/ios/SunnyDiscover.xcodeproj\r\n\r\n\tConfiguration : Debug\r\n\r\n\tPlatform      : emulator\r\n\r\nBuild settings from command line:\r\n    ARCHS = i386\r\n\r\n    CONFIGURATION_BUILD_DIR = /Users/repixels/Desktop/Sunny/Phonegap Project/SunnyDiscover/platforms/ios/build/emulator\r\n\r\n    SDKROOT = iphonesimulator9.0\r\n    SHARED_PRECOMPS_DIR = /Users/repixels/Desktop/Sunny/Phonegap Project/SunnyDiscover/platforms/ios/build/sharedpch\r\n\r\n    VALID_ARCHS = i386\r\n\r\nBuild settings from configuration file '/Users/repixels/Desktop/Sunny/Phonegap Project/SunnyDiscover/platforms/ios/cordova/build-debug.xcconfig':\r\n\r\n    CODE_SIGN_IDENTITY = iPhone Developer\r\n\r\n    CODE_SIGN_RESOURCE_RULES_PATH = $(SDKROOT)/ResourceRules.plist\r\n\r\n\r\n=== BUILD TARGET CordovaLib OF PROJECT CordovaLib WITH CONFIGURATION Debug ===\r\n\r\n\r\n\r\nCheck dependencies\r\n\r\n\r\n\r\n=== BUILD TARGET SunnyDiscover OF PROJECT SunnyDiscover WITH CONFIGURATION Debug ===\r\n\r\n\r\nCheck dependencies\r\n\r\n\r\n\r\n\r\nPhaseScriptExecution Copy\\ www\\ directory build/SunnyDiscover.build/Debug-iphonesimulator/SunnyDiscover.build/Script-304B58A110DAC018002A0835.sh\r\n    cd \"/Users/repixels/Desktop/Sunny/Phonegap Project/SunnyDiscover/platforms/ios\"\r\n    /bin/sh -c \\\"/Users/repixels/Desktop/Sunny/Phonegap\\ Project/SunnyDiscover/platforms/ios/build/SunnyDiscover.build/Debug-iphonesimulator/SunnyDiscover.build/Script-304B58A110DAC018002A0835.sh\\\"\r\n\r\n\r\n\r\n\r\nProcessInfoPlistFile build/emulator/SunnyDiscover.app/Info.plist SunnyDiscover/SunnyDiscover-Info.plist\r\n    cd \"/Users/repixels/Desktop/Sunny/Phonegap Project/SunnyDiscover/platforms/ios\"\r\n    export PATH=\"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin\"\r\n    builtin-infoPlistUtility /Users/repixels/Desktop/Sunny/Phonegap\\ Project/SunnyDiscover/platforms/ios/SunnyDiscover/SunnyDiscover-Info.plist -genpkginfo /Users/repixels/Desktop/Sunny/Phonegap\\ Project/SunnyDiscover/platforms/ios/build/emulator/SunnyDiscover.app/PkgInfo -expandbuildsettings -format binary -platform iphonesimulator -additionalcontentfile /Users/repixels/Desktop/Sunny/Phonegap\\ Project/SunnyDiscover/platforms/ios/build/SunnyDiscover.build/Debug-iphonesimulator/SunnyDiscover.build/MainViewController-PartialInfo.plist -o /Users/repixels/Desktop/Sunny/Phonegap\\ Project/SunnyDiscover/platforms/ios/build/emulator/SunnyDiscover.app/Info.plist\r\n\r\n\r\n\r\nLd build/emulator/SunnyDiscover.app/SunnyDiscover normal i386\r\n    cd \"/Users/repixels/Desktop/Sunny/Phonegap Project/SunnyDiscover/platforms/ios\"\r\n    export IPHONEOS_DEPLOYMENT_TARGET=7.1\r\n    export PATH=\"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin\"\r\n    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -L/Users/repixels/Desktop/Sunny/Phonegap\\ Project/SunnyDiscover/platforms/ios/build/emulator -L/Users/repixels/Desktop/Sunny/Phonegap\\ Project/SunnyDiscover/platforms/ios/SunnyDiscover/Plugins/com.wikitude.phonegap.WikitudePlugin -F/Users/repixels/Desktop/Sunny/Phonegap\\ Project/SunnyDiscover/platforms/ios/build/emulator -filelist /Users/repixels/Desktop/Sunny/Phonegap\\ Project/SunnyDiscover/platforms/ios/build/SunnyDiscover.build/Debug-iphonesimulator/SunnyDiscover.build/Objects-normal/i386/SunnyDiscover.LinkFileList -mios-simulator-version-min=7.1 -Xlinker -objc_abi_version -Xlinker 2 -weak_framework CoreFoundation -weak_framework UIKit -weak_framework AVFoundation -weak_framework CoreMedia -weak-lSystem -ObjC -fobjc-arc -fobjc-link-runtime -framework AssetsLibrary /Users/repixels/Desktop/Sunny/Phonegap\\ Project/SunnyDiscover/platforms/ios/build/emulator/libCordova.a -framework CoreGraphics -framework MobileCoreServices -lWikitudeSDK -lWikitudeSDK_simulator -framework Accelerate -framework AVFoundation -framework CFNetwork -framework CoreLocation -framework CoreMedia -framework CoreMotion -framework CoreText -framework CoreVideo -framework Foundation -framework MediaPlayer -framework OpenGLES -framework QuartzCore -framework Security -framework SystemConfiguration -framework UIKit -lc++ -lz -Xlinker -dependency_info -Xlinker /Users/repixels/Desktop/Sunny/Phonegap\\ Project/SunnyDiscover/platforms/ios/build/SunnyDiscover.build/Debug-iphonesimulator/SunnyDiscover.build/Objects-normal/i386/SunnyDiscover_dependency_info.dat -o /Users/repixels/Desktop/Sunny/Phonegap\\ Project/SunnyDiscover/platforms/ios/build/emulator/SunnyDiscover.app/SunnyDiscover\r\n\r\nld: warning: ignoring file /Users/repixels/Desktop/Sunny/Phonegap Project/SunnyDiscover/platforms/ios/SunnyDiscover/Plugins/com.wikitude.phonegap.WikitudePlugin/libWikitudeSDK.a, missing required architecture i386 in file /Users/repixels/Desktop/Sunny/Phonegap Project/SunnyDiscover/platforms/ios/SunnyDiscover/Plugins/com.wikitude.phonegap.WikitudePlugin/libWikitudeSDK.a (3 slices)\r\nUndefined symbols for architecture i386:\r\n  \"wikitude::sdk_foundation::impl::SDKFoundation& wikitude::sdk_foundation::impl::ServiceManager::getHostSDK<wikitude::sdk_foundation::impl::SDKFoundation>() const\", referenced from:\r\n      wikitude::sdk_core::impl::CalibrationManager::finishCalibration() in libWikitudeSDK_simulator.a(CalibrationManager.o)\r\n      wikitude::sdk_core::impl::CalibrationManager::targetRecognized(wikitude::sdk_foundation::impl::BaseTracker&, wikitude::sdk_foundation::impl::RecognizedTarget&) in libWikitudeSDK_simulator.a(CalibrationManager.o)\r\n  \"wikitude::sdk_core::impl::ArchitectEngine& wikitude::sdk_foundation::impl::ServiceManager::getHostSDK<wikitude::sdk_core::impl::ArchitectEngine>() const\", referenced from:\r\n      wikitude::sdk_core::impl::CalibrationManager::finishCalibration() in libWikitudeSDK_simulator.a(CalibrationManager.o)\r\n      wikitude::sdk_core::impl::CalibrationManager::targetRecognized(wikitude::sdk_foundation::impl::BaseTracker&, wikitude::sdk_foundation::impl::RecognizedTarget&) in libWikitudeSDK_simulator.a(CalibrationManager.o)\r\nld: symbol(s) not found for architecture i386\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n\r\n\r\n\r\n** BUILD FAILED **\r\n\r\n\r\nThe following build commands failed:\r\n\r\n\tLd build/emulator/SunnyDiscover.app/SunnyDiscover normal i386\r\n(1 failure)\r\n\r\nError code 65 for command: xcodebuild with args: -xcconfig,/Users/repixels/Desktop/Sunny/Phonegap Project/SunnyDiscover/platforms/ios/cordova/build-debug.xcconfig,-project,SunnyDiscover.xcodeproj,ARCHS=i386,-target,SunnyDiscover,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/repixels/Desktop/Sunny/Phonegap Project/SunnyDiscover/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/repixels/Desktop/Sunny/Phonegap Project/SunnyDiscover/platforms/ios/build/sharedpch\r\n\r\nERROR building one of the platforms: Error: /Users/repixels/Desktop/Sunny/Phonegap Project/SunnyDiscover/platforms/ios/cordova/build: Command failed with exit code 2\r\nYou may not have the required environment or OS to build this project\r\n\r\nError: /Users/repixels/Desktop/Sunny/Phonegap Project/SunnyDiscover/platforms/ios/cordova/build: Command failed with exit code 2\r\n    at ChildProcess.whenDone (/usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:139:23)\r\n    at emitTwo (events.js:87:13)\r\n    at ChildProcess.emit (events.js:172:7)\r\n    at maybeClose (internal/child_process.js:818:16)\r\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)\r\n\r\nYet, I was able to build an earlier version of the project using Phonegap and Wikitude Plugin v4.1.0  - com.wikitude.phonegap.WikitudePlugin 4.1.0 , But had to disable the Bitcode in xcode to run this version."}}