SquareSquash / cocoa

Squash iOS and Mac OS X client library
Apache License 2.0
4 stars 4 forks source link

Cannot get this to work #1

Open krummler opened 11 years ago

krummler commented 11 years ago

Hi,

Since i can't find any place to ask for help, I'll write my problem here.

The readme basically defines three steps:

Step one is rather new to me and I had no idea what to do, but I'll explain what I tried.

This leaves me with two problems:

Can you please help me or point me to the proper place? Thanks a lot! Kevin

RISCfuture commented 11 years ago

OK, so there are 3 targets in the Xcode project: OSX, iOS, and iOS Simulator. iOS Simulator compiles a static library against the i386 arch, and iOS a static library against the armv7 arch. If you're using the iOS simulator, you need the i386 library.

If you compile the SquashCocoa iOS Tester target, does it work on the simulator and/or your device?

krummler commented 11 years ago

Trying to run the SquadCocoa iOS Tester doesn't seem to work either, trying to run it on the Simulator gives me:

Ruby 1.9.3@squash_ios is not installed. Command /bin/sh failed with exit code 1

Trying to run it on the device gives me:

error: /Users/(user)/Library/Developer/Xcode/DerivedData/SquashCocoa-dasalmspeovuenfwhbnfzlmlpvzc/Build/Products/Debug-iphoneos/libSquashCocoa iOS Simulator.a: No such file or directory

RISCfuture commented 11 years ago

You can temporarily disable the "Notify Squash of Release" and "Upload Symbolication Data to Squash" build phases to fix the first error.

krummler commented 11 years ago

I can start the app, filled in my credentials and sent a test crash. Upon restart of the app my log gets filled with the same error messages:

[PLCrashReport] pl_async_objc_parse_objc2_class:597: plcrash_async_mobject_remap_address at 0x81a75d0 returned NULL [PLCrashReport] pl_async_objc_parse_from_data_section:746: pl_async_objc_parse_objc2_class error 126248104 while parsing class [PLCrashReport] plcrash_async_objc_find_method:907: pl_async_objc_parse(0x848c6a0, 0x2025, 0x367b0, 0x7866e88) failure 126248104

RISCfuture commented 11 years ago

And this is the device, the simulator, or both?

krummler commented 11 years ago

Only on the simulator, unfortunately when I try to run in on a device I get the error I mentioned earlier.