ios - Unable to install IBMMobileFirstPlatformFoundation 7.1 using cocoapods -
we trying configure our native ios app mfp 7.1 using cocoapods. however, when define ibmmobilefirstplatformfoundation in our podfile , try pod install
, getting below error:
[!] error installing ibmmobilefirstplatformfoundation [!] /usr/bin/git clone https://hub.jazz.net/git/imflocalsdk/imf-client-sdks /var/folders/94/h6b7y6wx5k1dc_4q2xj5_8hw0000gn/t/d20170911-59452-jm2y5r --template= --single-branch --depth 1 --branch ibmmobilefirstplatformfoundation_7.1.11 cloning '/var/folders/94/h6b7y6wx5k1dc_4q2xj5_8hw0000gn/t/d20170911-59452-jm2y5r'... fatal: remote branch ibmmobilefirstplatformfoundation_7.1.11 not found in upstream origin
we have followed below doc couldn't work.
adding ibm mobilefirst platform foundation ios sdk new application cocoapods
podfile:
# platform :ios, '10.0' target 'test' use_frameworks! pod 'alamofire', '4.5.0' pod 'alamofireobjectmapper', '4.1.0' pod 'datepickercell', '1.0.5' pod 'objectmapper', '2.2.8' pod 'ohhttpstubs/swift' pod 'skyfloatinglabeltextfield', '3.1.0' pod 'swiftyjson', '3.1.4' pod 'toast-swift', '2.0.0' pod 'pulley', '1.3.1' pod 'googleplaces' pod 'ibmmobilefirstplatformfoundation', '~> 7.1' target 'test' inherit! :search_paths end target 'test' inherit! :search_paths end end source 'https://github.com/cocoapods/specs.git' use_frameworks! #target :name-of-the-target-in-xcode-project platform :ios, 10.0 pod 'ibmmobilefirstplatformfoundation', '~> 7.1'
this issue caused due recent git migration hub.jazz.net git.ng.bluemix.net of mobilefirst sdks source hosted on hub.jazz.net repo , unavailable. in-turn caused pod install
failure.
note: can mfp 7.1 ios sdks using mfp 7.1 studio plugin mentioned in this blog post.
Comments
Post a Comment