Open sergii-frost opened 7 years ago
ah, I think this could be becuase iPhone 5 is 32 bits? Injection bootstrap is 64bits only
@johnno1962 yes, you were right, on iPhone 5s app does not give an error. It gives warning like:
/Users/sergii/Developer/ViewController.swift objc[41204]: Class _TtC1421ViewController is implemented in both /Users/sergii/Library/Developer/CoreSimulator/Containers/Bundle/Application/.app/** and /Users/sergii/Library/Developer/Xcode/DerivedData/***Logs/iOSInjectionProject/build/Debug-iphonesimulator/InjectionBundle1.bundle/InjectionBundle. One of the two will be used. Which one is undefined.
So nothing is changed on simulator after injecting source. But maybe there is an issue for that already
You can ignore the warning. Have you reloaded the viewcontroller to see the changes take effect?
Hi, I am trying to use the app, but getting this error when trying to inject Source:
an error occurred while injecting Simulator: (os/kern) invalid argument (error code: 4)
Xcode 8.2.1 iPhone 5 simulator with iOS 10.2 (not device) MacOS Sierra 10.12.2
Not sure if app has iOS 10.x for simulators, read about device limitations only.
UPD: tried with another project and iPhone 5/iOS 9.3 simulator - got same error