Hi. Since the plugins/ios folder doesn’t support subfolders, I thought I would try to keep things cleaner by precompiling the facebook SDK into a .a file and stuff it in there.
Turns out doing it this way causes a crash at runtime, immediately at application start, before I ever do a single Facebook thing.
This does NOT happen if i compile in the fbconnect stuff by dropping in the source code directly, or if i leave the lib in but don’t refer to it (ie, it gets deadstripped, presumably)
here’s where it crashes (not very helpful):
run
Running…
[Switching to thread 11523]
[Switching to thread 11523]
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/dyld' has changed; re-reading symbols.
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/dyld’ has changed; re-reading symbols.
sharedlibrary apply-load-rules all
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/dyld' has changed; re-reading symbols. continue
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/dyld’ has changed; re-reading symbols.
2011-03-17 14:52:19.235 test[3300:307] → registered mono modules
`/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/dyld’ has changed; re-reading symbols.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/info/dns.so (file not found).
→ applicationDidFinishLaunching()
Program received signal: “EXC_BAD_ACCESS”.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/Developer/usr/lib/libXcodeDebuggerSupport.dylib (file not found).
Xcode could not locate source file: RakNetTypes.h (line: 320)
any ideas??? have no clue what could be causing this.