Page 1 of 6

Bugs after iOS 7.1/Xcode 5.1 update

Posted: Tue Mar 11, 2014 6:38 pm
by Lars Holtet

As i was working on my project, i exported it to Xcode like i normally do to test it. I got this error with a red "!"

Is there any way to fix this? I loaded a project i uploaded to app store yesterday with iOS 7.0/Xcode 5.0- and i got the same error in that project!

clang: error: unknown argument: '-force_load /libCordova.a' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future


Bugs after iOS 7.1/Xcode 5.1 update

Posted: Tue Mar 11, 2014 6:41 pm
by Lars Holtet

Solution was to go on build flags and remove '-force_load /libCordova.a. But you should fix this in the april upgrade...


Bugs after iOS 7.1/Xcode 5.1 update

Posted: Tue Mar 11, 2014 7:11 pm
by Nikita

Hi,
So now you haven't got this problem. Is it right?


Bugs after iOS 7.1/Xcode 5.1 update

Posted: Tue Mar 11, 2014 7:19 pm
by Lars Holtet

thats correct, but i had to remove it manually in Xcode. I have also gotten a lot of other red flag errors after this- so its clearly that the Xcode settings need the be edited by you- because everyone who has iOS 7.1- have to install Xcode 5.1


Bugs after iOS 7.1/Xcode 5.1 update

Posted: Wed Mar 12, 2014 8:24 am
by Alex GG

Hi! Lars! Your solution worked for me too!!

Thanks!


Bugs after iOS 7.1/Xcode 5.1 update

Posted: Wed Mar 12, 2014 12:28 pm
by Maryna Brodina

Hello! We reported this issue as a bug. Sorry for inconvenience.


Bugs after iOS 7.1/Xcode 5.1 update

Posted: Wed Mar 12, 2014 5:11 pm
by Alex GG

removing this manually in xcode, causes the Build to Succeed, and running into my iphone, but....right after the splash screen, the app closes...so every time I want to launch the app, it closes itself right after the splash screen.

If I use the iOs simulator, it also closes as in the actual device.

what can be causing this? how can avoid that?

But that doesnt happen if I install .ipa on an ipad.

thanks!


Bugs after iOS 7.1/Xcode 5.1 update

Posted: Wed Mar 12, 2014 8:13 pm
by Adam Garbinski

Hello. Same issue in my case. Build succeded but app crashes after splash screen.
Pretty strange. For anyone struggling with that issue - if you DOWNGRADE Xcode to the version 5.0.1 (download from app dev Member Center) you can do successful build even if your testing device is iOS 7.1. The app will run fine - at least it was in my case.


Bugs after iOS 7.1/Xcode 5.1 update

Posted: Wed Mar 12, 2014 8:31 pm
by Alex GG

Thanks Adam...I ́ll try this right now!


Bugs after iOS 7.1/Xcode 5.1 update

Posted: Fri Mar 14, 2014 3:51 pm
by ishani modi

hi,
I am facing the same problem
Where do you find build flag ?