New KitchenSink apps in SDK 1.3.0 don't build?
In TitaniumDev I get this in building both iPhone and iPad versions of KS:
[INFO] Titanium SDK version: 1.3.0
[INFO] iPhone Device family: iphone
[INFO] iPhone SDK version: 3.1
[INFO] Executing XCode build...
[INFO] Executing XCode Compiler [toggle output]
[INFO] Compile completed in 22.001 seconds
[ERROR] Build Failed. Please see output for more details
What up with that?
5 Answers
-
See your log build file in 'build/iphone/build/build.log'
-
Hmm. Well that's a start I suppose. From the build log:
ld: library not found for -lTiCore collect2: ld returned 1 exit status Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.2 failed with exit code 1
The obv followup question is why and why now. Strangely, my existing iPad app continues to build and run in simulator but the new KS-iPad app will not (have not tried to restart my own app to see if this is a "new app" problem).
In looking in the projects directory, the only references to TiCore* are:
./KitchenSink/build/iphone/headers/TiCore ./KitchenSink/build/iphone/headers/TiCore/TiCore.h ./KitchenSink-iPad/build/iphone/headers/TiCore ./KitchenSink-iPad/build/iphone/headers/TiCore/TiCore.h
So I am guessing that I am missing a library? This is new issue with SDK1.3.0
-
This is the case for me with iPhone 4 SDK Beta 3… reverting to 3.2 works
-
Raul,
I have 3.2 selected. Don't even have 4.0 installed so that isn't it. But I'm glad it worked for you. :) -
Creating a new project + a cp -r of the Resources directory from KS into the new dummy project created (for me) a working KS-ipad app.