iOS-Diagnostics icon indicating copy to clipboard operation
iOS-Diagnostics copied to clipboard

xCode requires Pod update, it messes up the project

Open RedTiger005 opened this issue 9 years ago • 1 comments

Steps to reproduce:

1. I opened the workspace file 2. Plugged in my iPhone and hit play 3. I resolved the code signing issue through changing the Bundle Identifier. (from "com.electriclabs.iOS-Diagnostics" to "com.electriclab.iOS-Diagnostics") 4. Xcode troughs the following errors: diff: /../Podfile.lock: No such file or directory diff: /Manifest.lock: No such file or directory error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. 5. Closed Xcode and opened terminal 6. cd /path-to-project 7. pod update _(Marks-iMac:iOS-Diagnostics-master markstehling$ pod update Update all pods Re-creating CocoaPods due to major version update. Updating local specs repositories

CocoaPods 1.1.0.beta.2 is available. To update use: sudo gem install cocoapods --pre [!] This is a test version we'd love you to try.

For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.1.0.beta.2

Analyzing dependencies [!] The dependency FMDB is not used in any concrete target. The dependency KVOController is not used in any concrete target. The dependency JBChartView is not used in any concrete target._ 8. Xcode says: "JBChartView/JBLineChartView.h' file not found"

Please see screenshots for further information, I will respond as quick as I can, if you need more information. I would really appreciate if someone took time and helped me. Thank you in advance!!! screen shot 2016-09-05 at 21 15 35 screen shot 2016-09-05 at 21 15 47 screen shot 2016-09-05 at 21 15 53 screen shot 2016-09-05 at 21 17 38 screen shot 2016-09-05 at 21 21 28

RedTiger005 avatar Sep 05 '16 19:09 RedTiger005

@RedTiger005 - yes, you need to edit the Podfile. The working version is below....but you will hit another problem which is that the App no longer seems able to load the logfiles for some reason: ` source 'https://github.com/CocoaPods/Specs.git' platform :ios, '8.0'

target 'Diagnostics' do

pod 'FMDB' pod 'KVOController' pod 'JBChartView'

end `

antwerpenR avatar Feb 26 '17 10:02 antwerpenR