우리는 cocoapod를 사용하여 MFP 7.1에 기본 iOS 응용 프로그램을 구성하려고합니다. 우리는 우리의 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
을하지만, 우리는 일을 가져올 수 없습니다.
이 문제가 git.ng.bluemix.net하는 hub.jazz.net에서 최근의 자식 마이그레이션으로 인해 발생# 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) –