I'm trying to integrate swift package manager in my project, but with no luck. The iOS simulator crashes at startup.
Here are the steps that I followed in order to integrate the package manager:
- open xcode and create a new xcodeproject:
testcpackage
- from the terminal I've run the command:
swift package init
to create the Package.swift fileswift package generate-xcodeproj
swift build
swift test
- everything seems to be ok
- open the new generated file
testpackage.xcodeproj
in xcode - run the application (cmd+R): build succeeded
- first error given by the iOS simulator:
Could not attach to pid : “9207”
- I close the iOS simulator and I run the project again when I get the 2nd error:
- first error given by the iOS simulator:
No installable items found at /Users/xxxxxx/Library/Developer/CoreSimulator/Devices/555xxx14-xxx-xx-8E6E-C13D5AB463A0/data/Library/Caches/com.apple.mobile.installd.staging/temp.rA1vGO/extracted/Payload
Could you please help me to solve this issue?