Mobile-UXSDK-iOS Swift Sample Code Error: No such module 'iOS_Color_Picker' - dji-sdk

I downloaded the latest master of https://github.com/dji-sdk/Mobile-UXSDK-iOS (should be 4.11.1), installed the pods and inserted the Bundle Identifier and the App Key.
when compiling I get the error:
Mobile-UXSDK-iOS/Sample Code/SwiftSampleCode/UXSDKSwiftSample/MapWidget/CustomMapViewController.swift:10:8: No such module 'iOS_Color_Picker'
my pod install looked successful:
pod install
Analyzing dependencies
Downloading dependencies
Installing DJI-SDK-iOS (4.11.2)
Installing DJI-UXSDK-iOS (4.11.1)
Installing DJIFlySafeDatabaseResource (01.00.01.17)
Installing DJIWidget (1.6.2)
Installing iOS-Color-Picker (1.2)
Generating Pods project
Integrating client project
can anyone assist me on this error?
thanks a lot

used workspace file and all works

Related

Updating Cloudflare Pages to Ruby 3 for Jekyll site

So I've been building a blog site using Jekyll and an specific theme called Chirpy, and deploying it all using Cloudflare Pages, the code is stored in a private Github repository so anytime I push code a new build gets generated by Cloudflare automatically.
It's been working fine for months but after some updates deploying a new build fails as:
12:57:58.188 Success: Finished cloning repository files
12:57:58.890 Installing dependencies
12:57:58.901 Python version set to 2.7
12:58:03.233 v12.18.0 is already installed.
12:58:04.608 Now using node v12.18.0 (npm v6.14.4)
12:58:04.922 Started restoring cached build plugins
12:58:04.937 Finished restoring cached build plugins
12:58:05.597 Attempting ruby version 2.7.1, read from environment
12:58:09.668 Using ruby version 2.7.1
12:58:10.041 Using PHP version 5.6
12:58:10.042 Started restoring cached ruby gems
12:58:10.060 Finished restoring cached ruby gems
12:58:10.062 Installing gem bundle
12:58:10.368 [DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set path '/opt/buildhome/cache/bundle'`, and stop using this flag
12:58:10.526 [DEPRECATED] The --binstubs option will be removed in favor of `bundle binstubs`
12:58:13.673 Fetching gem metadata from https://rubygems.org/..........
12:58:13.834 Fetching gem metadata from https://rubygems.org/.
12:58:13.935 Resolving dependencies...
12:58:14.019 sass-embedded-1.58.0-x86_64-linux-musl requires rubygems version >= 3.3.22,
12:58:14.019 which is incompatible with the current version, 3.1.2
12:58:14.052 Error during gem install
12:58:14.073 Failed: build command exited with code: 1
12:58:14.848 Failed: an internal error occurred
Now Cloudflare allows you to specify which command you want to use in order to execute the build, that being:
bundle exec jekyll b
I've been looking for a way to update the Ruby version being used in Cloudflare and could not find any resources more than this one post. I've tried changing the Gemfile like:
spec.required_ruby_version = ">= 3.0"
, but it seems like Cloudflare does not support Ruby 3 at all; I then had the idea to use an older version of the Chirpy theme, since I already have a deployed version of the blog, I went back to Chirpy 5.2.1 but surprisingly the error persist.
Definitely adding gem "jekyll-sass-converter", "~> 2.0" to the Gemfile solved this problem, as Christian mentioned.

Bundler `materialize': Could not find unicode-display_width-1.8.0 in any of the sources

I've ran a bundle update in my Jekyll project, which is running 4.2.0 but when I deploy to my server I get:
`materialize': Could not find unicode-display_width-1.8.0 in any of the sources
I ran a gem update on my server which successfully updates a bunch of packages, how can I resolve this error.

Parsing issue with cocoa pods (1.2.0.beta.1)

I'm trying to add Alamofire and SwiftyJSON to my project (Xcode 8, Swift 3) using Cocoapods 1.2.0 beta.
I add the pod files
pod 'Alamofire', '~> 4.0'
pod 'SwiftyJSON', '3.0.0'
then when I pod install, I get this error
[!] ERROR: Parsing unable to continue due to parsing error:
contained in the file located at /Users/<me>/.cocoapods/repos/master/CocoaPods-version.yml
---
min: 1.0.0
last: 1.2.0.beta.1
prefix_lengths:
- 1
- 1
- 1
I searched google and found someone with a similar issue here and tried installing xcodeproj:1.4.1, and the problem still persists.
Does anyone have any idea what's happening here, and what I can do to successfully install my pods? Any help is much appreciated.
I managed to fix it by installing the most recent version of the "psych" gem, then uninstalling psych. Not sure what the issue was, if anyone more knowledgeable would like to pipe in that would be great, otherwise for those reading this question in the future - just uninstall psych.

CocoaPods 1.0.0b6 incorrect subspec dependents header paths when use_frameworks

I've got a simple simple PodFile for an empty single view app target and project named 'tf' in workspace 'ws'
platform :ios, '8.0'
use_frameworks!
workspace 'ws'
project 'tf/tf'
target 'tf' do
pod 'ShareKit/Facebook', '~> 5.0.0'
pod 'ShareKit/Tumblr', '~> 5.0.0'
end
Using 1.0.0b6 it chugs out:
MacBook-Pro:testflurry steve$ pod install
Analyzing dependencies
Downloading dependencies
Installing Bolts (1.7.0)
Installing Facebook-iOS-SDK (3.24.4)
Installing PKMultipartInputStream (1.1.0)
Installing SAMTextView (0.2.2)
Installing SDWebImage (3.7.5)
Installing SSKeychain (1.2.3)
Installing ShareKit (5.0.0)
Installing UIActivityIndicator-for-SDWebImage (1.2)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 2 dependencies from the Podfile and 8 total pods installed.
It won't build, an import inside sharekit fails to be found
#import <UIActivityIndicator-for-SDWebImage/UIImageView+UIActivityIndicatorForSDWebImage.h>
The reason seems obvious, when you inspect ShareKit target in the pods project, the HEADER_SEARCH_PATHS ends up as
"${PODS_ROOT}/Headers/Private"
"${PODS_ROOT}/Headers/Public"
I gather that ${PODS_ROOT} evaluates to ${SRCROOT} or the project dir and the headers folder is empty. Seems like I'm either missing something fundamental or something isn't right. 'little help?

CorePlot 1.2 - pod install no response

I just added
pod 'CorePlot', '~> 1.2'
to my Podfile, now trying
$ pod install
Resolving dependencies of `./Podfile'
Updating spec repositories
Cocoapods 0.18.1 is available.
Resolving dependencies for target `default' (iOS 6.0)
Downloading dependencies
Installing CorePlot (1.2)
It's getting hanged there with no response.
What can I do ?
This source library is nearly 200 megabytes. It may depend on your internet connection but I imagine this would complete if you gave it enough time.
If you want to see what it is doing try
$ pod install --verbose

Resources