Closed ghost closed 6 years ago
Hey @YMHCoder, I am facing exactly the same issue. Whenever I find a solution, I'll let you know.
Hey @YMHCoder, if you are using Xcode 10 the "new build system" seems to have something to do with this issue. Try this:
File -> Workspace Settings ...
Build System
to Legacy Build System
After this change the sample should compile and run correctly.
I still don't know whether this is the root cause of the issue and I need some more time to investigate. It might end up in setting the legacy system for the sample app.
@YMHCoder I have updated the example project and hopefully the issue you were facing is fixed. Could you please confirm whether this works or not for you?
@YMHCoder I have updated the example project and hopefully the issue you were facing is fixed. Could you please confirm whether this works or not for you?
It has been solved.Thank you very much.
thanks!
2018-09-20 16:47:44.135358+0800 SwiftMonkeyExampleUITests-Runner[4876:449144] +[CATransaction synchronize] called within transaction 2018-09-20 16:47:44.349712+0800 SwiftMonkeyExampleUITests-Runner[4876:449144] Running tests... 2018-09-20 16:47:45.321244+0800 SwiftMonkeyExampleUITests-Runner[4876:449144] The bundle “SwiftMonkeyExampleUITests” couldn’t be loaded because it is damaged or missing necessary resources. Try reinstalling the bundle. 2018-09-20 16:47:45.321450+0800 SwiftMonkeyExampleUITests-Runner[4876:449144] (dlopen_preflight(/Users/ios/Library/Developer/Xcode/DerivedData/SwiftMonkeyExample-guvnsrsjlufdsbdsgqhebbunpfij/Build/Products/Debug-iphonesimulator/SwiftMonkeyExampleUITests-Runner.app/PlugIns/SwiftMonkeyExampleUITests.xctest/SwiftMonkeyExampleUITests): Library not loaded: @rpath/libswiftSwiftOnoneSupport.dylib Referenced from: /Users/ios/Library/Developer/Xcode/DerivedData/SwiftMonkeyExample-guvnsrsjlufdsbdsgqhebbunpfij/Build/Products/Debug-iphonesimulator/SwiftMonkey.framework/SwiftMonkey Reason: no suitable image found. Did find: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/libswiftSwiftOnoneSupport.dylib: mach-o, but not built for iOS simulator)