Project: titanium
Issue TIMOB-18873: Building an iOS app with 4.0.0 and then rebuilding with 3.5.1.GA fails
Description When building a project with a 4.0.0 SDK and then rebuilding the project with 3.5.1.GA the build fails with the below. {code} [TRACE] Undefined symbols for architecture i386: [TRACE] "_Ti_WTFCrash", referenced from: [TRACE] TiDebuggerInterface::resetObjectProperty(int, std::__1::vector, std::__1::allocator >, std::__1::allocator, std::__1::allocator > > > const&) in libti_ios_debugger.a(TiDebuggerInterface.o) [TRACE] ld: symbol(s) not found for architecture i386 [TRACE] clang: error: linker command failed with exit code 1 (use -v to see invocation) [ERROR] 2015-05-06 17:57:01.479 xcodebuild[16656:2799819] DeveloperPortal: Using pre-existing current store at URL (file:///Users/eharris/Library/Developer/Xcode/DeveloperPortal%206.3.db). [ERROR] ** BUILD FAILED ** [ERROR] The following build commands failed: [ERROR] Ld build/testApp123.build/Debug-iphonesimulator/testApp123-universal.build/Objects-normal/x86_64/testApp123 normal x86_64 [ERROR] Ld build/testApp123.build/Debug-iphonesimulator/testApp123-universal.build/Objects-normal/i386/testApp123 normal i386 [ERROR] (2 failures) {code} *Notes* As per the linked ticket when cleaning I do not see the issue, on Android I am not sure whether the issue will occur due to CLI-616. Full output is attached as fullOutput.txt This issue can be reproduced using Titanium CLI@4.0.0-beta8 so is not an appc cli issues h5.Steps to reproduce 1. Create a project using a 4.0.0 SDK 2. Build the project using {{appc run -p ios}} 3. Change the SDK in the tiapp.xml and run ti sdk select and choose the latest 3.5.1.GA 4. Run {{appc run -p ios}} again h5.Actual result 2. The build will pass 4. The build will fail with errors such as the one listed above h5.Expected result The build should pass both times
Story points: 5