SciChart and SwiftyJSON - scichart

I am getting an [!] Invalid Podfile file: syntax error,
source 'https://github.com/ABTSoftware/PodSpecs.git'
platform :ios, '9.0'
target 'HavingFunWithScichart' do
use_frameworks!
# Pods for HavingFunWithScichart
pod 'SciChart'
pod 'SwiftyJSON'
pod 'Alamofire'
end
I know that I am getting it due to the pre-install script file. For the script instructs only to install the SciChart pod file.
My question is, how can I add my SwiftyJSON and Alamofire so that I can do my
pod install
??
Can anyone help me on how I can do this? I have checked and read over and over the documentation for Cocoapods but it does not cover anything on how I can over come the Pre-install script so that I can add the additional pods that I need for my project.

How Do I delete this request please? I just heard back that it was a omission in their script and they will be fixing it.

Related

Failing to install IdP configuration with helm in Openshift 4

I'm trying to apply htpasswd IdP configuration with oc apply commands which is working, but when I'm using configuration with helm it is failing to install with following error,
Error: INSTALLATION FAILED: rendered manifests contain a resource that already exists. Unable to continue with install: OAuth "cluster" in namespace "" exists and cannot be imported into the current release:
Can someone help ?
Regards
Mallikharjuna Rao Polisetty
This is a helm issue. The helm chart you're using is trying to place an resource of type oauth named cluster onto your OpenShift cluster, which already exists (supposedly because you created it by hand).
Clean up the existing oauth and try again.

Pod installation failed ? No module found

I'm running into problems with the installation of Alamofire and SwiftyJSON. I follwed the tutorial https://www.youtube.com/watch?v=Rqr3w8scm2E and https://www.youtube.com/watch?v=Brei27hdnF8&feature=iv&src_vid=Rqr3w8scm2E&annotation_id=annotation_700071403 which includes a description of the installation process.
I created the Pod file
and my pod install seemed to work as well
Now I'm not quite sure if I missed something. I thought maybe the two tests in the in the pod file need the two pods as well, but even after i tried that it still didn't work.
Can anyone tell me what i'm missing?
Thank you
Did you forgot to open the <your project name>.xcworkspace file with Xcode in your project root folder instead of the regular <your project name>.xcodeproj?
CocoaPods creates <your project name>.xcodeproj for you once you install the pods and requires you to use it from that moment on. You can type in the terminal open <your project name>.xcodeproj and Xcode will open it for you.

FBSDKCorekit.h, FBSDKCopying.h file note found using Cocoapods

For some odd reason after adding an unrelated pod I have been receiving an error message during the build process that indicates FBSDKCorekit.h, FBSDKCopying.h and FBSDKButton.h files are not found. I have followed countless suggestions changing properties in the projects build settings based on suggestions I've found on stackoverflow; however, none seem to work.
I am using Cocoapods so I attempted to uninstall and reinstall it as well as the pre-release version. I cleared the pod cache as well as removed the actual pods folder and podfile.lock and the xcworkspace and re-installed the pod into the project; however, I still recieve the error.
I also removed the project cache and rebuilt it...
Any assistance would be appreciated
Podfile
# define a global platform for your project
platform :ios, '8.4'
# using Swift
use_frameworks!
#
source 'https://github.com/CocoaPods/Specs.git'
# disable bitcode in every sub-target
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
end
end
target 'MyApp' do
# other pods
pod ...
# Facebook
pod 'FBSDKCoreKit' , '4.9.0-beta2'//4.8 gives same issue
pod 'FBSDKLoginKit', '4.9.0-beta2'
pod 'FBSDKShareKit', '4.9.0-beta2'
# Uber(New pod added)
pod 'UberRides' //actually just realized it's just a wrapper for very simple calls
# ==============================================================
# Sets the inheritance mode for the tests target inheriting
# only the search paths
target 'MyAppTests' do
inherit! :search_paths
end
end
Happened with me after update to cocoapods 1.0.0.beta.6
Next helped to me:
Xcode -> Product -> Clean
Xcode -> Product -> ⌥ + Clean
close Xcode
rm -rf ~/Library/Developer/Xcode/DerivedData
open Xcode and build (was no need to reinstall pods)
There seems to be some bug in cocoapods 1.0.0 Beta versions.
Falling back to v0.39.0 fixes the error.
You might need to remove cocoapods latest beta you have that installed, this question should help.
You don't need to fallback to v0.39.0.
I have currently the following versions:
1. cocoapods-0.38.2
2. cocoapods-0.39.0
3. cocoapods-1.0.0.beta.2
4. cocoapods-1.0.0.beta.3
For me this issue appeared only in beta.5.
So if you want 1.0 go for beta.3.
Xcode 12.5 and Cocoapods 1.10.1 here.
I had this issue when cocoapods updated FBSDKCoreKit to 11.0
I downgraded to 9.3 and it worked again.
pod 'FBSDKCoreKit', '~> 9.3'

Upgrading to Ansible 2.0 with Digital Ocean api v2 Issues

I have a working vagrant + ansible setup to provision my digital ocean, it was running on api v1, but when DO deprecated it I got an error message telling me there was no support for v1 anymore. After a research I found out I needed to upgrade to ansible 2.0 + update my digital_ocean.py since the older one was still using client_id and api_key, the new one however now uses the api_token.
Basically I've updated
1.digital_ocean.py which I got from ansible repo module
2. digital_ocean.ini to contain the api_token
3. updated my api token from DO to make sure it's using the new one
but when I execute my ansible playbook I initially got this error
ERROR! The file provisioning/inventory/staging/digital_ocean.py looks like it should be an executable inventory script, but is not marked executable. Perhaps you want to correct this with `chmod +x provisioning/inventory/staging/digital_ocean.py`?
So naturally had to chmod +x it but when I did I get a new error which is
ERROR! The file provisioning/inventory/staging/digital_ocean.py is marked as executable, but failed to execute correctly. If this is not supposed to be an executable script, correct this with `chmod -x provisioning/inventory/staging/digital_ocean.py`.
ERROR! Inventory script (provisioning/inventory/staging/digital_ocean.py) had an execution error:
ERROR! provisioning/inventory/staging/digital_ocean.py:3: Error parsing host definition ''''': No closing quotation
The next one seem to be json parsing related, my only problem is that it's on line 3 which if you check on the code itself are still on the comment side
https://raw.githubusercontent.com/ansible/ansible/devel/contrib/inventory/digital_ocean.py
I received both errors mentioned and solved them with the following:
The dopy related error was due to the fact that my python and pip were installed differently. dopy was installed via pip which was installed via homebrew. I was using the system python. When I installed python via homebrew, the script found dopy just fine.
Regarding the second error, that is the result I got when not setting the DO_API_TOKEN. I set mine in the command itself with:
DO_API_TOKEN=<api_token> ansible -i digital_ocean.py all -m ping

CoreData: Failed to load optimized model at path

I am getting this warning multiple times when i goto a view using google maps.This started as soon as i migrated to swift 2.0 and xcode 7 for my exising project .Im using google maps in my project. See the console log below
I have gone through some links but was not helpful
https://code.google.com/p/gmaps-api-issues/issues/detail?id=8459
https://forums.developer.apple.com/thread/14157
In my case I needed doing 1) update cocoa pod, 2) setup again, and 3) update pods.
1) $ gem update cocoapods
2) $ pod setup
3) $ pod update
As indicated in your console log, this is caused by an issue in the Google Maps SDK. The issue has been fixed in the latest Google Maps SDK release, so if you update it, it should work like before.
If you're using CocoaPods, just add pod 'GoogleMaps' in your podfile and run $ pod install.