Closed rogerwhite closed 11 years ago
Anyone have any idea why it won't build on sdk7 ?
I'm not sure; it shouldn't have any problem, and the error you posted looks generic rather than specific to the app.
I haven't tested with the latest SDKs yet, but plan to soon, so unfortunately I can't be of much help at the moment.
The only thing I came across on Google was the good old "clean your build". Have you tried that?
http://www.titaniumtips.com/files/how_to_clean_the_build_folder.php
Tried that first before posting. Actually even tried creating a blank new project and copying over the files instead of importing.
Works fine for Android builds.
Also Tried a full new download (from gitHub) and import and Build with no success for iOS Builds.
Tried this in another workstation with SDK6 and it works fine.
[INFO] : Performing full rebuild [INFO] : Copying Xcode iOS files [INFO] : Creating Xcode project directory: /Users/RogerWhite/Desktop/Project Uno/workspace/chariti copy/build/iphone/chariti.xcodeproj [INFO] : Writing Xcode project data file: Titanium.xcodeproj/project.pbxproj [INFO] : Writing Xcode project configuration: project.xcconfig [INFO] : Writing Xcode module configuration: module.xcconfig [INFO] : Creating symlinks for simulator build [INFO] : Injecting native libraries into Xcode project file [INFO] : Forcing rebuild: ApplicationDefaults.m has changed since last build [INFO] : Writing properties to ApplicationDefaults.m [INFO] : Copying module resources [INFO] : Copying CommonJS modules [INFO] : Invoking xcodebuild [ERROR] : \ BUILD FAILED ** [ERROR] : The following build commands failed: [ERROR] : Ld build/Debug-iphonesimulator/chariti.app/chariti normal i386 [ERROR] : (1 failure)
Roger, try building in xocde. (I.e. goto into the build folder and open the xcoce project) you should get a much more detailed error log.
Thanks for the idea @ndastur.
It was the dk.napp.social module. Once removed, it built fine but obviously the components that require the module don't work.
Replace dk.napp.social folder from /modules/iphone/dk.napp.social with https://github.com/viezel/TiSocial.Framework/blob/master/dist/dk.napp.social-iphone-1.7.0.zip
Problem solved.
Thanks @ndastur for helping with this one; and thanks @rogerwhite for pointing it out :)
No problem. I am going to file a JIRA report requested that the xcode build log is output to console when a build error occurs. The BUILD FAILED message is about as useful as a chocolate teapot !
Haha, that made me chuckle :)
[ERROR] : \ BUILD FAILED ** [ERROR] : The following build commands failed: [ERROR] : Ld build/Debug-iphonesimulator/ChariTi.app/ChariTi normal i386 [ERROR] : (1 failure)