Adding Parsekit to an Xcode Project

I am trying to add Parsekit to my OSX Xcode project. I have never added a third-party structure before, and I cannot get it to work correctly.

I dragged the included Xcode project into my Groups and Files panel and decided to add it to my project. Then I dragged Parsekit.frameworkunder the heading Link Binary With Libraries. Then I double-clicked my target application and added it Parsekitas a direct dependency. I also added libicucore.dylibas a linked library (as they say, to do this on my site). Finally, on the Build Settings tab of my target information, I set Header Search Pathsto /Users/path/to/include/directoryand Other Linker Flagsto -ObjC -all_load.

Running this as a debug build works fine without errors. However, when I create my application for release, and then try to run the created executable, the application does not load with the following error message:

MyApp cannot be opened due to a problem. Check with the developer to make sure myApp works with this version of Mac OS X.

Here is a dump from the crash reporter:

Process: MyApp [11658] Path:
/Users/Garry/Programming/Xcode/Mac/MyApp/build/Release/MyApp.app/Contents/MacOS/MyApp Identifier: com.yourcompany.MyApp Version: ??? (???) Code type: X86-64 (Native) Parent process: launchd [135] Date / time:
2010-05-24 17: 08: 08.475 +0100 OS Version: Mac OS X 10.6.3 (10D573) Version Report: 6 Interval Since Last Report: 133300 sec. Failure Since the last report: 3 per application Failure from the last report: 3 Anonymous UUID:
DF0265E4-B5A0-45E1-8B71-D52A27CFDDCA

Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000002, 0x0000000000000000 Hidden Topic: 0

Dyld : : @executable_path/..//ParseKit.framework///ParseKit : /Users/Garry/Programming/Xcode/Mac/MyApp/build/Release/MyApp.app/Contents/MacOS/MyApp :

: MacBookPro5,5, BootROM MBP55.00AC.B03, 2 , Intel Core 2 Duo, 2,53 , 4 , SMC 1.47f2 : NVIDIA GeForce 9400M, NVIDIA GeForce 9400M, PCI, 256 : global_name AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.10.91.27) Bluetooth: 2.3.1f4, 2 , 2 , 1 : AirPort, AirPort, en1 : Ethernet- (en6), Ethernet, en6 Serial ATA: Hitachi HTS545025B9SA02, 232.89 GB Serial ATA : HL-DT-ST DVDRW GS23N USB : iSight, 0x05ac (Apple Inc.), 0x8507, 0x24400000 USB : , 0x05ac (Apple Inc.), 0x8403, 0x26500000 USB: -, 0x05ac (Apple Inc.), 0x8242, 0x04500000 USB-: Apple Internal /, 0x05ac (Apple Inc.), 0x0237, 0x04600000 USB: BRCM2046, 0x0a5c (Broadcom Corp.), 0x4500, 0x06100000 USB-: Bluetooth USB, 0x05ac (Apple Inc.), 0x8213, 0x06110000

, , Xcode MyApp.app.dSYM. , ?

Xcode 3.2.2 Intel MBP 10.6.3.

.

: ! diciu - , . , Macbook (Intel, 10.6.3), . :

MyApp, Mac.

MyApp Valid architectures i386 x86_64, . ?

: Build active architecture only . , . !

+3
2

" " .

, "" → " " → " ". "".

Parsekit.

dsym .

+6

ParseKit .

Xcode 4. . ParseKit Mac App , Xcode 4 Mac App.

+1

Source: https://habr.com/ru/post/1746881/


All Articles