问题标签 [xcode6.4]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
949 浏览

ios - ld:架构 x86_64 的 14 个重复符号 clang:错误:链接器命令在 iOS PayPal sdk 集成中失败,退出代码为 1

我是 iOS 新手,所以请帮助 ** 我已经添加了 paypal 的所有框架和 sdk。我还检查了链接重复**如何解决此错误。提前致谢

ld /Users/alivenetsolution/Library/Developer/Xcode/DerivedData/DreamPartner-cvamdjxxcqqfirfztpoultvwmoox/Build/Intermediates/DreamPartner.build/Debug-iphonesimulator/DreamPartner.build/Objects-normal/x86_64/DreamPartner normal x86_64

重复符号 _kPayPalOAuth2ScopeFuturePayments 在:/Users/alivenetsolution/Library/Developer/Xcode/DerivedData/DreamPartner-cvamdjxxcqqfirfztpoultvwmoox/Build/Intermediates/DreamPartner.build/Debug-iphonesimulator/DreamPartner.build/Objects-normal/x86_64/PackageViewController.o /Users/ alivenetsolution/Library/Developer/Xcode/DerivedData/DreamPartner-cvamdjxxcqqfirfztpoultvwmoox/Build/Intermediates/DreamPartner.build/Debug-iphonesimulator/DreamPartner.build/Objects-normal/x86_64/AppDelegate.o 重复符号_kPayPalOAuth2ScopeProfile 在:/Users/alivenetsolution/Library /Developer/Xcode/DerivedData/DreamPartner-cvamdjxxcqqfirfztpoultvwmoox/Build/Intermediates/DreamPartner.build/Debug-iphonesimulator/DreamPartner.build/Objects-normal/x86_64/PackageViewController。o /Users/alivenetsolution/Library/Developer/Xcode/DerivedData/DreamPartner-cvamdjxxcqqfirfztpoultvwmoox/Build/Intermediates/DreamPartner.build/Debug-iphonesimulator/DreamPartner.build/Objects-normal/x86_64/AppDelegate.o 重复符号 _kPayPalOAuth2ScopeOpenId 在:/Users /alivenetsolution/Library/Developer/Xcode/DerivedData/DreamPartner-cvamdjxxcqqfirfztpoultvwmoox/Build/Intermediates/DreamPartner.build/Debug-iphonesimulator/DreamPartner.build/Objects-normal/x86_64/PackageViewController.o /Users/alivenetsolution/Library/Developer/Xcode /DerivedData/DreamPartner-cvamdjxxcqqfirfztpoultvwmoox/Build/Intermediates/DreamPartner.build/Debug-iphonesimulator/DreamPartner.build/Objects-normal/x86_64/AppDelegate.o 重复符号_kPayPalOAuth2ScopePayPal属性在:/Users/alivenetsolution/Library/Developer/Xcode/DerivedData/DreamPartner-cvamdjxxcqqfirfztpoultvwmoox/Build/Intermediates/DreamPartner.build/Debug-iphonesimulator/DreamPartner.build/Objects-normal/x86_64/PackageViewController.o /Users/alivenetsolution/Library/Developer /Xcode/DerivedData/DreamPartner-cvamdjxxcqqfirfztpoultvwmoox/Build/Intermediates/DreamPartner.build/Debug-iphonesimulator/DreamPartner.build/Objects-normal/x86_64/AppDelegate.o 重复符号_kPayPalOAuth2ScopeEmail 在:/Users/alivenetsolution/Library/Developer/Xcode/ DerivedData/DreamPartner-cvamdjxxcqqfirfztpoultvwmoox/Build/Intermediates/DreamPartner.build/Debug-iphonesimulator/DreamPartner.build/Objects-normal/x86_64/PackageViewController。o /Users/alivenetsolution/Library/Developer/Xcode/DerivedData/DreamPartner-cvamdjxxcqqfirfztpoultvwmoox/Build/Intermediates/DreamPartner.build/Debug-iphonesimulator/DreamPartner.build/Objects-normal/x86_64/AppDelegate.o 重复符号 _kPayPalOAuth2ScopeAddress 在:/Users /alivenetsolution/Library/Developer/Xcode/DerivedData/DreamPartner-cvamdjxxcqqfirfztpoultvwmoox/Build/Intermediates/DreamPartner.build/Debug-iphonesimulator/DreamPartner.build/Objects-normal/x86_64/PackageViewController.o /Users/alivenetsolution/Library/Developer/Xcode /DerivedData/DreamPartner-cvamdjxxcqqfirfztpoultvwmoox/Build/Intermediates/DreamPartner.build/Debug-iphonesimulator/DreamPartner.build/Objects-normal/x86_64/AppDelegate.o 重复符号_kPayPalOAuth2ScopePhone 在:/Users/alivenetsolution/Library/Developer/Xcode/DerivedData/DreamPartner-cvamdjxxcqqfirfztpoultvwmoox/Build/Intermediates/DreamPartner.build/Debug-iphonesimulator/DreamPartner.build/Objects-normal/x86_64/PackageViewController.o /Users/alivenetsolution/Library/Developer /Xcode/DerivedData/DreamPartner-cvamdjxxcqqfirfztpoultvwmoox/Build/Intermediates/DreamPartner.build/Debug-iphonesimulator/DreamPartner.build/Objects-normal/x86_64/AppDelegate.o 重复符号_kPayPalOAuth2ScopeAddress 在:/Users/alivenetsolution/Library/Developer/Xcode/ DerivedData/DreamPartner-cvamdjxxcqqfirfztpoultvwmoox/Build/Intermediates/DreamPartner.build/Debug-iphonesimulator/DreamPartner.build/Objects-normal/x86_64/PackageViewController.o /Users/alivenetsolution/Desktop/@16 july/DreamPartner/DreamPartner/ThirdParty/PayPalMobile/ libPayPalMobile。a(PPAuthNAuthScopes.o) 重复符号 _kPayPalOAuth2ScopeEmail 在:/Users/alivenetsolution/Library/Developer/Xcode/DerivedData/DreamPartner-cvamdjxxcqqfirfztpoultvwmoox/Build/Intermediates/DreamPartner.build/Debug-iphonesimulator/DreamPartner.build/Objects-normal/x86_64/ PackageViewController.o /Users/alivenetsolution/Desktop/@7 月 16 日/DreamPartner/DreamPartner/ThirdParty/PayPalMobile/libPayPalMobile.a(PPAuthNAuthScopes.o) 重复符号 _kPayPalOAuth2ScopeFuturePayments 在:/Users/alivenetsolution/Library/Developer/Xcode/DerivedData/DreamPartner- cvamdjxxcqqfirfztpoultvwmoox/Build/Intermediates/DreamPartner.build/Debug-iphonesimulator/DreamPartner.build/Objects-normal/x86_64/PackageViewController.o /Users/alivenetsolution/Desktop/@16 july/DreamPartner/DreamPartner/ThirdParty/PayPalMobile/libPayPalMobile.a( PPAuthNAuthScopes。o)重复符号_kPayPalOAuth2ScopeOpenId在:/Users/alivenetsolution/Library/Developer/Xcode/DerivedData/DreamPartner-cvamdjxxcqqfirfztpoultvwmoox/Build/Intermediates/DreamPartner.build/Debug-iphonesimulator/DreamPartner.build/Objects-normal/x86_64/PackageViewController.o/用户/alivenetsolution/Desktop/@7 月 16 日/DreamPartner/DreamPartner/ThirdPartner/PayPalMobile/libPayPalMobile.a(PPAuthNAuthScopes.o) 重复符号 _kPayPalOAuth2ScopePayPalAttributes 在:/Users/alivenetsolution/Library/Developer/Xcode/DerivedData/DreamPartner-cvamdjxxcqqfirfztpoultvwmoox/Build/中间体/DreamPartner.build/Debug-iphonesimulator/DreamPartner.build/Objects-normal/x86_64/PackageViewController.o /Users/alivenetsolution/Desktop/@7月16日/DreamPartner/DreamPartner/ThirdParty/PayPalMobile/libPayPalMobile.a(PPAuthNAuthScopes.o)重复符号_kPayPalOAuth2ScopePhone在:/Users/alivenetsolution/Library/Developer/Xcode/DerivedData/DreamPartner-cvamdjxxcqqfirfztpoultvwmoox/Build/Intermediates/DreamPartner.build/Debug-iphonesimulator/DreamPartner.build/Objects-normal/x86_64/PackageViewController.o/用户/alivenetsolution/Desktop/@7 月 16 日/DreamPartner/DreamPartner/ThirdPartner/PayPalMobile/libPayPalMobile.a(PPAuthNAuthScopes.o) 重复符号 _kPayPalOAuth2ScopeProfile 在:/Users/alivenetsolution/Library/Developer/Xcode/DerivedData/DreamPartner-cvamdjxxcqqfirfztpoultvwmoox/Build/中间体/DreamPartner.build/Debug-iphonesimulator/DreamPartner.build/Objects-normal/x86_64/PackageViewController.o /Users/alivenetsolution/Desktop/@7月16日/DreamPartner/DreamPartner/ThirdParty/PayPalMobile/libPayPalMobile.a(PPAuthNAuthScopes.o) ld:架构 x86_64 clang 的 14 个重复符号:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用)##

0 投票
3 回答
428 浏览

xcode - 点击 .Storyboard 文件后 Xcode 停止响应

好的,所以我正在尝试在这里开发我的应用程序,并且我正在尝试转到我的 Storyboard。每次我点击 .Storyboard 文件时,Xcode 都会显示“应用程序没有响应”并退出。这个问题昨晚才开始发生(在安装 OS X El Capitan beta 6 之后)。我不确定这是怎么回事。使用 Xcode 6.4 和 Xcode 7 beta 4 来解决这个问题。

更新:在开发者论坛上的查看表明,这个问题已经发生在每个人身上。OS X El Capitan beta 6 似乎破坏了 Xcode 的两个版本。啊。现在我们等待 OS X 的新版本或 Xcode 的新版本。

0 投票
4 回答
13805 浏览

ios - Swift 桥接头 - 使用未声明的类型“FMDatabase”错误

我查看了所有其他具有相同错误的帖子(使用未声明的类型),但仍然无法弄清楚我的项目有什么问题。

与其他情况的不同之处在于,我可以在 AppDelegate 和 ViewController 类中成功使用 FMDatabase,但不能从我创建的另一个类中使用,尽管与 AppDelegate 和 ViewController 类在同一个项目中。

通过“成功使用”,我的意思是我可以访问其中的数据库和表。

另请注意,我无需导入任何内容即可在 AppDelegate 或 ViewController 中使用 FMDatabase。

到目前为止我所做的(Xcode。6.4 Swift 1.2):

  1. 创建了一个单一的视图 swift 项目。

  2. 使用 cocoapods 安装 FMDB ( https://cocoapods.org/?q=fmdb )

  3. 为 FMDB 创建了一个桥接头

我可以从 AppDelegate.swift 和 ViewController.swift 类中成功声明和使用 FMDatabase。

AppDelegate.swift

ViewController.swift

在 DBUtil.swift 中,虽然我收到“使用未声明的类型 'FMDatabase'”错误。

DBUtil.swift

Swift Bridging Header提供了一个复制器。

对于任何提示或想法,提前谢谢你。

0 投票
1 回答
72 浏览

ios - Xcode 模拟器仅针对一种设备构建一种尺寸//

...无论我选择在哪个设备上进行模拟。上次更新(上周)后出现此问题。每台设备都给我相同的模拟器窗口/我想我会是 iPhone6Plus/。

对于如何再次在不同设备上进行模拟的任何提示,我将不胜感激。

我的系统版本:版本 10.10 (915) Xcode:版本:6.4

问候, W.wa

0 投票
1 回答
258 浏览

ios - Xcode 6.4 中已弃用的 segue

所以我按照教程在这里制作一个segue: https ://developer.apple.com/library/ios/recipes/xcode_help-IB_storyboard/chapters/StoryboardSegue.html

当我从一个按钮按住 Ctrl 键拖动到视图控制器时,我得到了 Push、Modal、Popover、Replace 和 Custom 选项。本教程清楚地指出所有这些都已弃用(除了自定义,我猜这是更复杂的转场)。我项目的部署目标是8.3,我使用xcode 6.4。

有人可以为这个令人困惑的混乱照亮一些光明吗?

0 投票
2 回答
4778 浏览

ios - Xcode“来自调试器的消息:对 k 数据包有意外响应:OK”

在模拟器上测试我的应用程序时收到此消息:

来自调试器的消息:对 k 数据包有意外响应:OK

这是什么意思,我的应用程序有什么危险吗?

使用 Xcode 6.4 和 7.2

0 投票
1 回答
6991 浏览

ios - 无法将 ipa 上传到 diawi.com

我正在使用分发证书(对于 Ad-hoc)使用WildCard ID.

我的通配符 ID 是com.company.*所以我将 bundleId 设置为com.company.test. ipa 以此成功生成。

它也可以安装在我的设备上,但不能上传到 diawi。它给了我错误:

  • 在应用程序包中找不到配置文件。
  • 发生技术错误

我从 3 个不同的 MAC 帐户中创建了 3 个分发证书,并且我还为 3 个安装了所有私有密钥。

我正在使用Xcode 6.4.

我错过了什么?

0 投票
1 回答
154 浏览

ios - PSPDFKit SDK 崩溃

我集成了 PSPDFKit 框架。但是当我运行我的项目时,它崩溃了 anf 显示 +[PSPDFAnnotationGroupItem inkConfigurationBlock]: unrecognized selector sent to class 0x517f74 (lldb) 。

我遵循他们的整合过程,但这对我不起作用。

0 投票
1 回答
155 浏览

graph - 如何在从 Core Plot 创建的条形图中的条形下方添加标题?

嗨,我需要在从 Core Plot 创建的条形图的条形下方显示字符串标题。我在 Core Plot 框架中有很多地方,但没有找到如何将文本放在条形下方?我需要显示标题,就像附图中显示的那样。

请建议!

在此处输入图像描述

0 投票
0 回答
25 浏览

xcode - Xcode 显示错误的模拟器名称

我安装了 Xcode 7 beta 5,当切换回 Xcode 6.4 时,我看到了:

在此处输入图像描述

如何解决?