0
我们正在尝试使用cocoapods将我们的本机iOS应用程序配置为MFP 7.1。然而,当我们在podfile定义IBMMobileFirstPlatformFoundation,并尝试pod install
,我们得到以下错误:无法使用cocoapods安装IBMMobileFirstPlatformFoundation 7.1
[!] 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 into '/var/folders/94/h6b7y6wx5k1dc_4q2xj5_8hw0000gn/T/d20170911-59452-jm2y5r'...
fatal: Remote branch IBMMobileFirstPlatformFoundation_7.1.11 not found in upstream origin
我们都遵循下面的文件,但我们无法得到它的工作。
Adding the IBM MobileFirst Platform Foundation iOS SDK to a new application with CocoaPods
PodFile:
# platform :ios, '10.0'
target 'test' do
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' do
inherit! :search_paths
end
target 'test' do
inherit! :search_paths
end
end
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
#target :name-of-the-target-in-xcode-project do
platform :ios, 10.0
pod 'IBMMobileFirstPlatformFoundation', '~> 7.1'
您是否找到解决方案了? –
我们必须手动使用(https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/7.1/hello-world/configuring-a-native-ios-application-with-the-mfp-sdk/# localMethod) –