0
我在我的項目中使用了ArcGIS窗格,並且一切正常。但現在我想實現我的應用程序的單元測試,我得到了錯誤,同時運行產品 - >測試:嘗試使用ArcGIS測試Swift iOS應用程序
ld: framework not found ArcGIS for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我的測試文件看起來像:
import UIKit
import XCTest
@testable import MyApp
ArcGIS的框架是一個預編譯圖書館。
我Podfile:
# Uncomment this line to define a global platform for your project
# platform :ios, '8.0'
use_frameworks!
target 'MyApp' do
pod 'ArcGIS-Runtime-SDK-iOS', '~> 10.2.5'
end
target 'MyAppTests' do
pod 'ArcGIS-Runtime-SDK-iOS', '~> 10.2.5'
end
爲什麼我無法測試我的應用程序?
你最終解決了這個問題嗎? – g0ld2k
我在cocoapods上發現我可以運行'pod嘗試ArcGIS-Runtime-SDK-iOS',但它對我無效。 –
我想通了我的問題,我沒有在測試目標中的ArcGIS :( – g0ld2k