Lars Holtet
Posts: 0
Joined: Sun Nov 24, 2013 5:47 pm

Bugs after iOS 7.1/Xcode 5.1 update

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

Lars Holtet
Posts: 0
Joined: Sun Nov 24, 2013 5:47 pm

Bugs after iOS 7.1/Xcode 5.1 update

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

Nikita
Posts: 0
Joined: Fri Feb 28, 2014 4:02 pm

Bugs after iOS 7.1/Xcode 5.1 update

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

Lars Holtet
Posts: 0
Joined: Sun Nov 24, 2013 5:47 pm

Bugs after iOS 7.1/Xcode 5.1 update

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

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

Bugs after iOS 7.1/Xcode 5.1 update

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

Thanks!

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Bugs after iOS 7.1/Xcode 5.1 update

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

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

Bugs after iOS 7.1/Xcode 5.1 update

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!

Adam Garbinski
Posts: 0
Joined: Sat Sep 28, 2013 5:33 pm

Bugs after iOS 7.1/Xcode 5.1 update

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.

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

Bugs after iOS 7.1/Xcode 5.1 update

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

ishani modi
Posts: 0
Joined: Wed Oct 23, 2013 4:49 am

Bugs after iOS 7.1/Xcode 5.1 update

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

Return to “Issues”