Hey all: I'm trying to debug using the XCode iPhoneSimulator sdk with ADT and I'm having no luck. When I run the ADT command, it gives me this error:
ld: file not found: /usr/lib/system/libsystem_containermanager.dylib for architecture x86_64 Compilation failed while executing : ld64 Relevant ADT command line options: adt -package -target ipa-debug-interpreter-simulator . . . -platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk . . . Searching the Xcode.app contents I found what might be the dylib I need here: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libsystem_containermanager.dylib But due to Apple's SIP on MacOS, I cannot copy this dylib to /usr/lib/system or create a simlink to point to the XCode version even when root user. I'm assuming ADT is hardcoded to look in /usr/lib/system for this dylib and since it's not there, will fail to run the simulator. I'm a little hesitant to disable SIP for this purpose, but maybe that's my only option. I want to use the XCode simulator because my ANEs don't support the built-in emulators in IDEs. Anybody figure out a solution? Anybody use the Xcode iPhone simulator at all? Thanks! Erik