johnno1962 / injectionforxcode

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

Can't load Bundle #72

Closed bimawa closed 8 years ago

bimawa commented 8 years ago

Hi help me resolve issue, in appcode 3.3:

Injection: Uploading '/Volumes/RAMDisk/tc-ios/iOSInjectionProject/build/Debug-iphoneos/InjectionBundle2.bundle' to device...
2016-01-19 18:33:32.106 TCProject-iOS[4139:5613146] Could not open "/Volumes/RAMDisk/tc-ios/TCProject-iOS/main.m/tmp/InjectionBundle2.bundle/./_CodeSignature/CodeResources" for download as: No such file or directory
2016-01-19 18:33:32.108 TCProject-iOS[4139:5613146] Could not open "/Volumes/RAMDisk/tc-ios/TCProject-iOS/main.m/tmp/InjectionBundle2.bundle/./Info.plist" for download as: No such file or directory
2016-01-19 18:33:32.110 TCProject-iOS[4139:5613146] Could not open "/Volumes/RAMDisk/tc-ios/TCProject-iOS/main.m/tmp/InjectionBundle2.bundle/./InjectionBundle" for download as: No such file or directory
Injection: Loading Bundle...
2016-01-19 18:33:32.129 TCProject-iOS[4139:5613122] Could not initalise bundle at "/Volumes/RAMDisk/tc-ios/TCProject-iOS/main.m/tmp/InjectionBundle2.bundle"
2016-01-19 18:33:32.130 TCProject-iOS[4139:5613122] Bundle Load Error
2016-01-19 18:33:32.130 TCProject-iOS[4139:5613146] *** Bundle has failed to load. If this is due to symbols not found, this may be due to symbols being hidden from dynamic libraries. ***

Whats is wrong? May be in this string: if ( status & INJECTION_DEVICEIOS8 ) {

johnno1962 commented 8 years ago

Hi, injection to device from AppCode should be fixed now. Thanks for the bug report!

bimawa commented 8 years ago

Thanks you John! I love you for this!