johnno1962 / injectionforxcode

Runtime Code Injection for Objective-C & Swift
MIT License
6.55k stars 564 forks source link

Can not run in a device iOS10? #217

Open lilongcnc opened 7 years ago

lilongcnc commented 7 years ago

Hi, I am getting a mistake:


real 0m0.083s
user 0m0.086s
sys 0m0.023s

/usr/bin/touch -c "/Users/Lauren/Downloads/Demo1111/iOSInjectionProject/build/Debug-iphoneos/InjectionBundle.bundle"

 RECORDED BUILD SUCCEEDED 

Renaming bundle so it reloads..
rm -rf "/Users/Lauren/Downloads/Demo1111/iOSInjectionProject/build/Debug-iphoneos/InjectionBundle17.bundle" && cp -r "/Users/Lauren/Downloads/Demo1111/iOSInjectionProject/build/Debug-iphoneos/InjectionBundle.bundle" "/Users/Lauren/Downloads/Demo1111/iOSInjectionProject/build/Debug-iphoneos/InjectionBundle17.bundle"
Codesigning with identity 'iPhone Developer: Jiajin shen (RHJP4BZ947)' for iOS device
Uploading '/Users/Lauren/Downloads/Demo1111/iOSInjectionProject/build/Debug-iphoneos/InjectionBundle17.bundle' to device...
Loading Bundle...
Modified iOSInjectionProject/injectionCount.txt ...


and I find you respone the problem in https://www.bountysource.com/issues/39015634-bundle-load-fails-due-to-sandboxing. So We still can't use it in iOS10?

johnno1962 commented 7 years ago

Not on a device. The simulator works as before.

lilongcnc commented 7 years ago

Thankyou. I get it. It works no the simulator very well!