I am coming from a different coding language/tools and I am trying to learn xcode/swift. Sorry if this is a simple question. I was following some youtube video on making an app.
I added a few pods, including one called RestKit to my project. When I tried to build, I didn't get any errors from building but I get this error when the app tries to start.
I have look around google/youtube but I didn't find an answer about this problem. Is it some kind of framework that is missing?
dyld: Symbol not found: _$s7RestKit11DynamicKeysVN
Referenced from: /Users/name/Library/Developer/CoreSimulator/Devices/60B44AFB-0BDB-434F-AB6C-FE1A776BC530/data/Containers/Bundle/Application/BE8BA7CA-E518-42F7-A035-A5F5E440DEA5/MyApp.app/Frameworks/Assistant.framework/Assistant
Expected in: /Users/name/Library/Developer/CoreSimulator/Devices/60B44AFB-0BDB-434F-AB6C-FE1A776BC530/data/Containers/Bundle/Application/BE8BA7CA-E518-42F7-A035-A5F5E440DEA5/MyApp.app/Frameworks/RestKit.framework/RestKit
in /Users/name/Library/Developer/CoreSimulator/Devices/60B44AFB-0BDB-434F-AB6C-FE1A776BC530/data/Containers/Bundle/Application/BE8BA7CA-E518-42F7-A035-A5F5E440DEA5/MyApp.app/Frameworks/Assistant.framework/Assistant
Did you open the workspace to build the application?
If that doesn't work try running
pod updatethen try opening your .xcworkspace file and running it again.[Update]
The error is looking for Assistant.framework in the app. Make sure it's being copied into the app.
If you dissect the path you'll see that it says coresimulator/devices/.../appname.app, which is the path to the simulator. The rest is the path to the framework. If you go to the path it probably won't be there. You might want to keep a finder window open to that path to check to see if your build ever copies the files to it's proper path.
Do the following to copy the file over.
Select your project -> your target -> build phases Then check for a copy files phase, it could be renamed to be something else, and add the framework. Also make sure the destination is set to frameworks.
If you don't have that copy files phase then you'll need to add it. Select the '+' at the top of the build phases screen Then add the new copy files phase Select frameworks as the destination, because that's what the error wants and then add the proper frameworks. Try assistant framework first.