javascript - Undefined symbols for architecture i386 and Terminating app due to uncaught exception in iOS -


i trying develop 1 app phone gap. when try use plugin extractzipfile ios it's throw error:

undefined symbols architecture i386: "_main", referenced from:     start in crt1.o   ld: symbol(s) not found architecture i386 clang: error: linker command failed exit code 1 (use -v see invocation) 

then seach issue , find 1: "add main.m in compiler source of compiler phrase".

and error above fixed. it's throw exeption:

terminating app due uncaught exception 'nsinternalinconsistencyexception', reason: 'unable instantiate uiapplication delegate instance. no class named appdelegate loaded.' 

i using phonegap 2.5.0 , xcode 4.6.1, use iphone simulator 6.1

please, hlep me! new , fool!

thanh reading!

if sort of thing appearing suddenly, means project missing frameworks needs. libraries , dependent projects can require frameworks, if you've added 1 can cause error.

to add frameworks, right click on project name in project view, select add, select existing frameworks... list. find framework symbols you're missing.

as how find frameworks need, i've found using google easiest, though use xcode search too. search 1 of symbols, doing best work out unmangled name, , first documentation link find @ developer.apple.com right one. don't have hunt far. in case, that's page:

then keep doing until works...


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -