[SOLVED] Ionic Build Xcode Error :(


#1

Hi,

I can not find answer to my concerns.

Since yesterday I am unable to compile my code ionic / cordova in xcode I get an error that I can not understand and solve malgrès my extensive research.

If a person with an idea I’m interested.

Thank you, Aurélien

2015-06-10 09:00:29.155 DansMonFrigoApp[10534:1159787] *** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘ERROR: config.xml does not exist. Please run cordova-ios/bin/cordova_plist_to_config_xml path/to/project.’
*** First throw call stack:
(
0 CoreFoundation 0x0000000108844c65 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000010c396bb7 objc_exception_throw + 45
2 CoreFoundation 0x0000000108844aca +[NSException raise:format:arguments:] + 106
3 Foundation 0x000000010b84498f -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
4 DansMonFrigoApp 0x0000000108309b0c -[CDVViewController loadSettings] + 428
5 DansMonFrigoApp 0x00000001083091eb -[CDVViewController __init] + 1131
6 DansMonFrigoApp 0x00000001083092a2 -[CDVViewController initWithNibName:bundle:] + 162
7 DansMonFrigoApp 0x0000000108271bb9 -[MainViewController initWithNibName:bundle:] + 121
8 DansMonFrigoApp 0x00000001083093fe -[CDVViewController init] + 62
9 DansMonFrigoApp 0x0000000108271c6e -[MainViewController init] + 62
10 DansMonFrigoApp 0x0000000108271328 -[AppDelegate application:didFinishLaunchingWithOptions:] + 456
11 UIKit 0x0000000108c38788 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 240
12 UIKit 0x0000000108c39397 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 2540
13 UIKit 0x0000000108c3c1de -[UIApplication _runWithMainScene:transitionContext:completion:] + 1349
14 UIKit 0x0000000108c3b0d5 -[UIApplication workspaceDidEndTransaction:] + 179
15 FrontBoardServices 0x000000010d0895e5 __31-[FBSSerialQueue performAsync:]_block_invoke_2 + 21
16 CoreFoundation 0x000000010877841c CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK + 12
17 CoreFoundation 0x000000010876e165 __CFRunLoopDoBlocks + 341
18 CoreFoundation 0x000000010876df25 __CFRunLoopRun + 2389
19 CoreFoundation 0x000000010876d366 CFRunLoopRunSpecific + 470
20 UIKit 0x0000000108c3ab42 -[UIApplication _run] + 413
21 UIKit 0x0000000108c3d900 UIApplicationMain + 1282
22 DansMonFrigoApp 0x0000000108270fc1 main + 65
23 libdyld.dylib 0x000000010cbbc145 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)


#2

Do you have any plugins installed? If yes, try to remove and add again. Then try to remove and then add again the ios platform.


#3

Hi, thx for your reply,

i’ve try this command : cordova plugin ls and the result.

cordova plugin ls

//com.google.admobsdk 6.12.2 “AdMob SDK for Android, iOS and WP8”

com.google.playservices 19.0.0 “Google Play Services for Android”

com.ionic.keyboard 1.0.4 “Keyboard”

com.phonegap.plugins.barcodescanner 2.2.0 “BarcodeScanner”

//com.rjfun.cordova.plugin.admob 2.1.7 “AdMob”

//cordova-plugin-google-analytics 0.7.2 “Google Universal Analytics Plugin”

org.apache.cordova.console 0.2.13 “Console”

org.apache.cordova.device 0.3.0 “Device”

// org.apache.cordova.network-information 0.2.15 “Network Information”

I unsinstal plugins with the // and i’ve test to remove folder ios and add plaforms ios again.

But the error is already here :frowning:


#4

I solved it! I removed the ios.json in the plugins folder and then also removed the ios platform. Then ran ionic add platform and ionic build again. Now it works :heart_eyes_cat:


#5

I’ve tried but not working for me


#6

Have you resolved this issue? I am experiencing the same, the compiler message in xcode is not telling me exact issue