0

I am unable to run my app on the Simulator, getting the below error

error: ....Build/Products/Debug-iphonesimulator/ChameleonFramework.framework: No such file or directory

Below is my pod file

pod 'Firebase'
pod 'Firebase/Auth'
pod 'Firebase/Crash'
pod 'Firebase/Database'
pod 'SVProgressHUD'
pod 'ChameleonFramework'

I am new to Xcode and I am unable to figure out what went wrong and how to resolve this.

Code_Yoga
  • 2,968
  • 6
  • 30
  • 49
  • Have you installed cocoapods? If not, [check this](https://stackoverflow.com/a/25257238/1025063)? – Imad Ali Jan 31 '18 at 05:10
  • Yes, I did. As you can see there are no issues with other pods. – Code_Yoga Jan 31 '18 at 05:25
  • Remove ChameleonFramework framework from Podfile and Install Cocoapods. Add ChameleonFramework and install cocoapods again. If possible show your logs once you install pods with ChameleonFramework framework. – Imad Ali Jan 31 '18 at 05:28
  • try this command in terminal "pod deintegrate" and then after "pod install" and "pod update" and then check if any issue please let me know. – Ravi Panchal Jan 31 '18 at 05:43
  • @ravi.p : Please find the solution in the answers – Code_Yoga Feb 01 '18 at 07:18

2 Answers2

0

Go to project -> Target -> General tab -> Linked frameworks and libraries click on plus button and add the framework.

enter image description here

Or

Go to project -> Target -> General tab -> Build Settings Type Search path

enter image description here

Mohammed Hussain
  • 176
  • 2
  • 13
0

This solved the issue Go to Project Settings -> Build Phases -> Embed Frameworks -> Removed Chameleon Framework.

Reference : PBXCp Error..Storyboard: No such file or directory

Look for the comment by the user 'brimstone'

Code_Yoga
  • 2,968
  • 6
  • 30
  • 49
  • No one else will be able to run your app, because the framework is not part of the bundle. – Kentzo Jul 31 '18 at 20:38
  • @Kentzo : Could you please elaborate ? I am not sure what you are saying. – Code_Yoga Aug 09 '18 at 10:34
  • Third party frameworks (i.e. those that are not normally present on user's machine ) have to be embedded inside the bundle to be available on user's machine. – Kentzo Aug 09 '18 at 20:33