小编Pet*_*rov的帖子

尝试使用ArcGIS测试Swift iOS应用程序

我在我的项目中使用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)

为什么我无法测试我的应用?

xcode frameworks arcgis cocoapods swift

0
推荐指数
1
解决办法
282
查看次数

标签 统计

arcgis ×1

cocoapods ×1

frameworks ×1

swift ×1

xcode ×1