我在我的项目中使用ArcGIS pod,一切正常.但是现在我正在尝试在我的应用程序中实现单元测试,并在运行Product - > Test时遇到错误:
ld: framework not found ArcGIS for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Run Code Online (Sandbox Code Playgroud)
我的测试文件如下:
import UIKit
import XCTest
@testable import MyApp
Run Code Online (Sandbox Code Playgroud)
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
Run Code Online (Sandbox Code Playgroud)
为什么我无法测试我的应用?