Closed jihun-im closed 6 years ago
Build failed.
Hey @jihunim, it looks like you are using the latest version of SwiftMonkey and Xcode 9 which is not compatible. Either update to Xcode 10 or specify in your Podfile pod 'SwiftMonkey', '2.1.0'
. If you want to try out the sample app, after you checked out the source, switch to the 2.1.0
tag, for example:
git checkout tags/2.1.0
Please let me know if that helps.
Thank you very much!
I updated Xcode to version 10. It worked fine. However, I have trouble using this tool as a framework. As written in README.md, I added SwiftMonkeyPaws and SwiftMonkey. However, build fails. Could you check this?
Hey there! I see you chose integrating SwiftMonkey without a dependency manager (like CocoaPods) which is slightly more difficult. I'll try however to guide you through the process.
SwiftMonkeyPaws.xcodeproj
in Finder.SwiftMonkeyPaws.xcodeproj
onto your project in Xcode.From your screenshots I see that you almost did this except for you didn't drag the xcodeproj
file, but instead the folders containing project files.
SwiftMonkeyPaws
from the list.Done! SwiftMonkeyPaws
is now integrated into your app! This is an optional step but I assume you would like to see a visualization of random input generated by SwiftMonkey 😉
Now let's move on to integrate SwiftMonkey
into you'r UITests target.
SwiftMonkey.xcodeproj
in Finder and drag it onto you'r project (just like we did with SwiftMonkeyPaws
).SwiftMonkey
from the list.SwiftMonkey.framework
to the newly added "Copy Files" phase. Select "Frameworks" as Destination (3).After all that is done you should have SwiftMonkey
integrated successfully. Please let me know whether this helped 😏
Thank you for detailed explanation. I will try this and get back to you later. If problem still occurs then I will reopen this. Thank you very much :)
I followed your guide and it worked perfectly. (I had to import SwiftMonkeyPaws, create a MonkeyPaws variable and initialize it.)
I am new to iOS. I turned on iOS simulator and xcode. When I tried 'Cmd+U' on the example, Xcode says that Build Succeeded.
What I expected is running monkey test. Could you tell me what am I missing?