Unrecognized platform name macOS,tvOS,iOS,watchOS in PINCatch Pods - swift

After update pods i have received Unrecognized platform name error message in PINCatch Framework.I have try to find solution on google but not getting answer.
Below i have mention pods update logs :
Analyzing dependencies
Removing SIOSocket
Removing libjingle_peerconnection
Downloading dependencies
Using AFNetworking (3.1.0)
Using BFRImageViewer (1.0.32)
Using Bolts (1.8.4)
Using CocoaAsyncSocket (7.6.1)
Installing CocoaLumberjack 3.3.0 (was 3.2.0)
Installing Crashlytics 3.9.0 (was 3.8.6)
Using DACircularProgress (2.3.1)
Installing FBSDKCoreKit 4.27.1 (was 4.25.0)
Installing FBSDKLoginKit 4.27.1 (was 4.25.0)
Installing FBSDKShareKit 4.27.1 (was 4.25.0)
Using FLAnimatedImage (1.0.12)
Installing Fabric 1.7.0 (was 1.6.12)
Using InstagramKit (3.8)
Using KissXML (5.2.0)
Installing PINCache 3.0.1-beta.6 (was 3.0.1-beta.5)
Installing PINOperation 1.1 (was 1.0.3)
Installing PINRemoteImage 3.0.0-beta.13 (was 3.0.0-beta.11)
Using RSKImageCropper (1.6.3)
Installing TwitterCore 3.0.1 (was 3.0.0)
Installing TwitterKit 3.2.0 (was 3.0.4)
Using UICKeyChainStore (2.1.1)
Using XMPPFramework (3.7.0)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 13 dependencies from the Podfile and 22 total pods installed.
Error Image
XCODE Version 8.3.3 (8E3004b)
Deployment Target : iOS 9
Universal App (iPhone & iPad)
Let me know how to solve this error ?

I have the same error in CocoaLumberjack with Xcode8.
I solved it by use Xcode9.
(my Xcode version is 9.0.1)

Related

Generamba setup failes when using Cocoapods

Only when using cocoapods(after run pod install), generamba setup failes with the following message when settin path to a .xcodeproj.
The path to a .xcodeproj file of the project is 'GrambaSample.xcodeproj'. Do you want to use it? (yes/no) yes
/Library/Ruby/Gems/2.3.0/gems/xcodeproj-1.4.2/lib/xcodeproj/project/object.rb:321:in `configure_with_plist': [!] Xcodeproj doesn't know about the following attributes {"inputFileListPaths"=>[], "outputFileListPaths"=>[]} for the 'PBXShellScriptBuildPhase' isa. (RuntimeError)
This error won't appear is not using cocoapods.
How can I be able to setup Generamba while using cocoapods.
To avoid this issue you should update CocoaPods to the latest beta version by executing
gem install cocoapods --pre
Latest beta version of CocoaPods now using inputFileListPaths and outputFileListPaths.
More info here See .xcfilelist Support

Error installing paypal-ios-sdk

When i am integrating pod file. I didn't get any error message before using cocoapods, now i am integrating cocoapods using Paypal-iOS-SDk. I got an error: If anyone know how to solve this error please tell me. My email id: kosuruudaysaikumar#gmail.com
Last login: Fri Jun 9 11:37:40 on ttys001
shyams-Mac-mini:~ shyamnarla$ cd /Users/shyamnarla/Downloads/Amaravati\
shyams-Mac-mini:Amaravati shyamnarla$ pod install
Analyzing dependencies
Downloading dependencies
Using Alamofire (4.0.1)
Using AlamofireImage (3.1.0)
Installing CardIO (5.4.1)
Using Firebase (3.9.0)
Using FirebaseAnalytics (3.5.1)
Using FirebaseCore (3.4.4)
Using FirebaseInstanceID (1.0.8)
Using FirebaseMessaging (1.2.1)
Using GoogleInterchangeUtilities (1.2.2)
Using GoogleMaps (2.1.0)
Using GooglePlacePicker (2.1.0)
Using GooglePlaces (2.1.0)
Using GoogleSymbolUtilities (1.1.2)
Using GoogleToolboxForMac (2.1.0)
Installing PayPal-iOS-SDK (2.17.0)
[!] Error installing PayPal-iOS-SDK
[!] /usr/bin/git clone https://github.com/paypal/PayPal-iOS-SDK.git /var/folders/b3/8tmw3ywx53vb9h7qvzgrpr2r0000gn/T/d20170609-2132-1pgwyuv --template= --single-branch --depth 1 --branch 2.17.0
Cloning into '/var/folders/b3/8tmw3ywx53vb9h7qvzgrpr2r0000gn/T/d20170609-2132-1pgwyuv'...
error: RPC failed; curl 56 SSLRead() return error -36
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
[!] Smart quotes were detected and ignored in your Podfile. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes in your editor of choice.
[!] Automatically assigning platform ios with version 10.0 on target Amaravati because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

How to update the version of compiled framework

I am using XCode 8.3 and I am trying to Run my project which is connected with link and now I have a XCode Error: Module compiled with Swift 3.0.2 cannot be imported in Swift 3.1
So my question is how to update the version of the framework?
I downloaded this framework from the link that I've posted above.
I think that you need to update CocoaPods to a newer version supports XCode 8 (CocoaPods 1.1.0 or newer):
sudo gem install cocoapods
Then do a pod update to fix your dependencies that are not linking:
pod update
Delete the DerivedData folder for your project and rebuild, the link error should be gone.

Bluemix Swift Mobile Client Access SDK when imported says no such module BMS Core and BMS Analytics show 35 errors due to which my build fails

As per the instructions given on Bluemix site; I installed the Swift SDK
pod use_frameworks!
pod 'BMSSecurity'
and it shows this on my terminal:
Then, when I built the project, I got 36 build errors.
First of which is "no such module as BMSCore" when I can see that framework imported in the pod and 35 errors related to BMSAnalytics, which is again framework imported.
These build errors are due to the incompatibility between two of the BMSSecurity dependencies (BMSCore and BMSAnalyticsAPI) and the version of Xcode you are using (7.2.1). The latest versions of these 2 frameworks only support Xcode 7.3 and higher, as explained in the BMSCore Github README. If you want to continue using Xcode 7.2, you can use BMSCore 1.0.3 instead.
So, there are 2 possible solutions here:
Upgrade Xcode to version 7.3
Add the following line to your Podfile: pod 'BMSCore', '~> 1.0.3'
Option 1 is recommended since only Xcode 7.3+ will be supported in future releases of BMSSecurity.
Are you opening FoodTracker.xcworkspace ?? please open .xcworkspace after pod install..

linker problems after updating pods in xcode 7 swift project

I have a project using the following Podfile:
target 'XXX' do
pod 'Google/Analytics'
pod 'Google/SignIn'
pod 'HockeySDK', '~> 4.0.1'
pod 'GoogleMaps'
pod 'Google-Mobile-Ads-SDK', '~> 7.0'
pod 'TesseractOCRiOS', '4.0.0'
pod 'TOCropViewController'
end
this compiles and runs perfectly.
once I do $pod update then I get lots of updates, see below:
Analyzing dependencies
Downloading dependencies
Installing FirebaseAnalytics (3.2.0)
Installing FirebaseInstanceID (1.0.6)
Installing Google 3.0.3 (was 2.0.3)
Installing Google-Mobile-Ads-SDK 7.8.1 (was 7.8.0)
Using GoogleAnalytics (3.14.0)
Installing GoogleAppUtilities 1.1.1 (was 1.1.0)
Installing GoogleAuthUtilities 2.0.1 (was 2.0.0)
Installing GoogleInterchangeUtilities 1.2.1 (was 1.2.0)
Using GoogleMaps (1.13.2)
Installing GoogleNetworkingUtilities 1.2.1 (was 1.2.0)
Installing GoogleSignIn 4.0.0 (was 3.0.0)
Installing GoogleSymbolUtilities 1.1.1 (was 1.1.0)
Installing GoogleUtilities 1.3.1 (was 1.2.0)
Using HockeySDK (4.0.1)
Using TOCropViewController (1.3.7)
Using TesseractOCRiOS (4.0.0)
Generating Pods project
Integrating client project
Sending stats
Sending stats
Pod installation complete! There are 7 dependencies from the Podfile and 16
total pods installed.
then I try to build and I get the following error:
ld: file not found: /Users/user/Desktop/Personal/xxx/Pods/GoogleUtilities/Libraries/libGTM_NSData+zlib_external.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)
so I decided to delete the entry from Other Linker Flags ($(PODS_ROOT)/GoogleUtilities/Libraries/libGTM_NSData+zlib_external.a) and that problem went away, but now I get the following error:
ld: file not found: -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I am on xcode 7.
any idea? this is driving me nuts.
thanks.
I resolved the problem on my own.
what I did was:
go to my project folder with finder
"show package content" for my project.xcodeproj
edit the file .pbxproj
delete the Other Link section for both debug and release
then I restarted xcode and all worked like a charm again.
phew!