cocoapods

In fact, why does CocoaPods not install the latest version of pods?

笑着哭i 提交于 2019-12-03 12:19:49
Note - actually apparently it does. Use the syntax Marcelo explains. Hope it helps someone! With CocoaPods, you basically do this, pod 'GTScrollNavigationBar', '~>0.1.1' for example, and it will install 0.1.1 of 'GTScrollNavigatorBar'. That's fantastic. However - why does it not simply update 'GTScrollNavigatorBar' when a new release is available? Marcelo Fabri Basically, it respects what you say in your Podfile . You have several options (from CocoaPods guides ): > 0.1 Any version higher than 0.1 >= 0.1 Version 0.1 and any higher version < 0.1 Any version lower than 0.1 <= 0.1 Version 0.1 and

iOS - watchOS App publishing issue CFBundleIdentifier collision

Deadly 提交于 2019-12-03 12:16:13
After the app uploading I receive the following email We identified one or more issues with a recent delivery for your app, XXX. Please correct the following issues, then upload again. ITMS-90806: CFBundleIdentifier collision - Each bundle must have a unique bundle identifier. The bundle identifier 'org.cocoapods.CocoaLumberjack' is used in the bundles '[CocoaLumberjack.framework, CocoaLumberjack.framework]' CocoaLumberjack is a third party library that I've already used in the past a lot of times without any problem, I am pretty confused. It is not related to the framework's .plist keyword

Removing Pod from project - xcode

…衆ロ難τιáo~ 提交于 2019-12-03 12:15:46
问题 I'm trying to remove pod from my project. After i'm deleting all the files and everything i'm getting this messages 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. I tried to remove the pods from the project, reinstall them, remove the script from the build phase, nothing is working. 回答1: remove the pod from the pod file then

Install old cocoapods?

依然范特西╮ 提交于 2019-12-03 12:10:32
问题 My entire project is wack currently because none of the dependencies are compliant with cocoapods 1.0. Not only are millions of Podspecs not working, there are also multiple other issues which used to be warnings and are now build halting errors... so frustrating. I have tried removing ~/.cocoapods , sudo gem uninstall cocoapods and sudo gem install cocoapods -v 0.39.0 and the same errors are occurring. It looks like it's installing it anyway or something? cocoapods (0.39.0) cocoapods-core (1

Cocoapods install getting error [duplicate]

耗尽温柔 提交于 2019-12-03 11:52:33
This question already has answers here : Cocoa pods issue after modify Pods file (6 answers) Here is my Podfile: platform :ios, ‘7.0’ pod 'ECSlidingViewController', '~> 2.0.0' When I type pod install into the terminal, this is the error I get: [!] Invalid `Podfile` file: /Users/Kyle/Desktop/Testing/Podfile:1: no .<digit> floating literal anymore; put 0 before dot platform :ios, ‘7.0’ ^ /Users/Kyle/Desktop/Testing/Podfile:1: syntax error, unexpected tINTEGER, expecting '(' platform :ios, ‘7.0’ ^. Updating CocoaPods might fix the issue. Everything in the Podfile seems correct. I have tried with

Xcode 10 - UITests - Reason: image not found

两盒软妹~` 提交于 2019-12-03 11:14:47
问题 I'm trying to run the UItests for my app but it's crashing as soon as it loads. Here's the error. 2018-09-29 16:19:49.577151+1000 xxxUITests-Runner[6007:69633] (dlopen_preflight(/Users/Acc/Library/Developer/Xcode/DerivedData/xxx-bjuwemcifadxhlhgojgfktmmades/Build/Products/Debug-iphonesimulator/xxxUITests-Runner.app/PlugIns/xxxUITests.xctest/xxxUITests): Library not loaded: @rpath/libswiftContacts.dylib Referenced from: /Users/Acc/Library/Developer/Xcode/DerivedData/xxx

Cocoa podspec and path for dependency

扶醉桌前 提交于 2019-12-03 11:03:11
how can I specify in podspec a local path for an dependency ? like : s.dependency 'MyLibrary', :path => '../MyLibrary' thanks You should use the :path keyword in your Podfile : pod 'AFNetworking', :path => '~/Documents/AFNetworking/AFNetworking.podspec' Tips: If you don't know the path, you can drag & drop the file in your Podfile and it will display it. EDIT I did not understand correctly what the OP was asking for, here is the correct answer: Put the local dependency inside your pod's folder root directory, In your Podspec file, just add s.ios.dependency 'YourPodName/YourPodDependencyFolder'

CocoaPods doesn't install Pods for iOS7 and Xcode 5

本小妞迷上赌 提交于 2019-12-03 10:59:46
With my work's developer account I have created a new iOS Project with Xcode 5 and iOS7. When installing "AFNetworking" or "RestKit" pods. I get this error message. [!] The platform of the target `Pods` (iOS 4.3) is not compatible with `AFNetworking (1.3.1)` which has a minimum requirement of iOS 5.0 - OS X 10.7. I have been looking for ways to solve this and nothing has came up. Anyone have a solution for this? Make sure your Podfile looks like this: platform :ios, '6.0' pod 'AFNetworking' # other pods That's because AFNetworking requires iOS 5+. 来源: https://stackoverflow.com/questions

Implicit declaration of function 'FBSDK_NOT_DESIGNATED_INITIALIZER' is invalid in C99 Expected ')'

北城余情 提交于 2019-12-03 10:45:15
I'm using Facebook SDK for iOS 4.6.0 and just today above error encountered after updating cocoapods to 0.38.2. I'm not sure this error has anything to do with cocoapods. Error screenshot: I had the same issue. The problem appeared because, I was connecting both " ParseFacebookUtils " (which was loading " Facebook-iOS-SDK " (which is the deprecated version) and " FBSDKCoreKit " separately. " Facebook-iOS-SDK " and " FBSDKCoreKit " both have " FBSDKMacros.h " which has different declarations of " FBSDK_NOT_DESIGNATED_INITIALIZER " and that is why message in XCode appear. What I suggest, if "

Integration error with Cocoapods and XCode5

与世无争的帅哥 提交于 2019-12-03 10:43:00
问题 When building my project in the new XCode5, I receive the following warning: Pods-App was rejected as an implicit dependency for 'libPods-App.a' because its architectures 'i386' didn't contain all required architectures 'x86_64' . 回答1: To fix that, select the Pods project in the left menu, then under the targets section select the Pods-#YourAppName# target and in the build settings click on the Architectures and press delete so it goes to the default option (Standard architectures (armv7,