还有另外一个关于此的问题,但这与它无关,因为我认为这与iOS 11的测试版有关.
我有这两个UIButton分组在一个内部UIView.使用Interface Builder 将此UIView置于a中UIBarButtonItem,并将整个内容设置为Left Bar Button Items.
单击时,每个按钮都会显示由故事板触发的弹出窗口.
我正在使用Xcode 8在运行iOS 9的iPad 3上进行测试.这非常有效.
现在我决定在运行iOS 11 beta 7的iPad Pro 9.7上进行测试.我正在使用Xcode 9 beta 6.当我在iPad Pro上运行时,导航栏上的所有按钮都已经死了. t响应点击.现在我尝试使用相同的Xcode 9 beta 6并使用iOS 9在iPad 3上运行应用程序,然后再次完成所有工作.
我正在为iOS 9.1编译.
按钮甚至不突出显示以确认点击,就像在iOS 9上一样.
iOS 11 beta 7和条形按钮项有问题吗?
有任何想法吗?
如何绘制边框以突出显示SCNNode并向用户指示该节点已被选中?在我的项目中,用户可以放置多个虚拟对象,用户可以随时选择任何对象.选择后,我应该向用户显示高亮显示的3D对象.有没有办法直接实现这个或在SCNNode上绘制边框?
我从Apple网站下载了新的Xcode 9版本
https://developer.apple.com/xcode/
但是,我在解压缩文件时收到以下错误
这是可下载文件的已知问题,还是我需要执行其他操作才能解压缩xip文件.
我的Mac配置
High Sierra
System Version: macOS 10.13 (17A352a)
Kernel Version: Darwin 17.0.0
Run Code Online (Sandbox Code Playgroud) 我用Xcode9beta6在我的iPhone 7上测试我的应用程序.当我在iPhone上获得iOS 11.1更新时,一切正常.现在,当我运行我的项目时,我收到以下消息:

我尝试了最后一个Xcode9版本,但仍然是这个消息.任何的想法 ?
我使用ARKit插件在Unity下创建了一个项目.
我使用了正确的版本.我从Unity编译,从XCode编译,归档并在iTunes连接上发送(.ipa).
但是,我收到了这个错误:
"Dear developer,
We have discovered one or more issues with your recent delivery for "Kouji". To process your delivery, the following issues must be corrected:
This bundle is invalid - Your archive contains paths that are not allowed: ( "AppThinning.plist" )
Once these issues have been corrected, you can then redeliver the corrected binary.
Regards,
The App Store team
"
Run Code Online (Sandbox Code Playgroud)
我的问题是我在互联网上找不到解决这些问题的办法.即使在apple developper网站上,也没有列出此错误.
如果有人可以帮助我,那就太棒了!
升级brew包时出现以下错误
Error: Your Xcode (8.3.3) is too outdated.
Please update to Xcode 9.0 (or delete it).
Xcode can be updated from
https://developer.apple.com/download/more/
Run Code Online (Sandbox Code Playgroud)
由于我使用的是beta osx版本
High Sierra
System Version: macOS 10.13
Kernel Version: Darwin 17.0.0
Run Code Online (Sandbox Code Playgroud)
似乎我必须升级beta Xcode版本(Xcode 9),我已经从苹果网站https://developer.apple.com/xcode/成功下载并安装了该版本.
现在,我的问题是如何在我的mac上切换Xcode版本,以便brew命令使用新安装的Xcode.
当我运行时,xcodebuild -version我得到以下输出(从App商店安装)
Xcode 8.3.3
Build version 8E3004b
Run Code Online (Sandbox Code Playgroud)
而我下载的测试版是从苹果网站上直接显示的 9.0 beta 6
当我启动 Xcode 时,我现在收到消息“Xcode 想要访问钥匙串中的“Xcode-AlternateDSID””。
这意味着什么?我应该接受吗?
在我们的项目中,我们指定
hidesNavigationBarDuringPresentation = false
Run Code Online (Sandbox Code Playgroud)
在某人UIViewController的身上UISearchController。searchController具有一系列范围标题。到目前为止,它在iOS 10上都可以正常运行,但是在iOS 11 beta中,似乎hidesNavigationBarDuringPresentation的错误设置被忽略,使显示混乱。为确保不是我项目中的其他因素,我创建了一个仅有一个项目的准系统测试项目UITableViewController,并UISearchController使用另一个simple 进行了初始化UITableViewController。以下代码位于viewDidLoad()主视图控制器上的方法中:
self.title = "Search Bar Scope Test"
let searchViewController = SearchViewController(style: .plain)
searchController = UISearchController(searchResultsController: searchViewController)
searchController!.searchBar.sizeToFit()
tableView.tableHeaderView = searchController!.searchBar
searchController?.hidesNavigationBarDuringPresentation = false
searchController?.searchBar.scopeButtonTitles = ["scope 1", "scope 2", "scope 3", "scope 4", "scope 5"]
Run Code Online (Sandbox Code Playgroud)
当最后一行分配scopeButtonTitles不存在时,导航栏不会隐藏,搜索栏仍保持其原始位置。但是,在存在该行的情况下,iPhone和iPad上的都NavigationBar变为隐藏状态,searchBar加号和范围按钮在纵向模式下都向上移动,而在横向模式下保持不变(即使范围按钮很多并且不能一起使用)线)。
有人遇到过吗?这是iOS 11中的错误或预期行为(虽然不是我们的预期行为),并且有任何解决方法吗?
谢谢!
我刚刚在Xcode 9 beta 6中创建了一个项目并添加了以下代码:
let privateDB = CKContainer.default().privateCloudDatabase
let greatID = CKRecordID(recordName: "GreatPlace")
let place = CKRecord(recordType: "Place", recordID: greatID)
privateDB.save(place) { (record, error) in
if error != nil {
let er = (error as! CKError).errorUserInfo
print("Error: \n")
print("CKErrorDescription: \(er["CKErrorDescription"]!)\n")
print("ContainerID: \(er["ContainerID"]!)\n")
print("NSDebugDescription: \(er["NSDebugDescription"]!)\n")
print("NSUnderlyingError: \(er["NSUnderlyingError"]!)\n")
print("NSLocalizedDescription: \(er["NSLocalizedDescription"]!)\n")
print("ServerErrorDescription: \(er["ServerErrorDescription"]!)\n")
}
if record != nil {
print("record: \(record!)")
}
}
Run Code Online (Sandbox Code Playgroud)
并添加此功能:
当我运行代码时,我收到此错误消息:
我做错了什么?
xcode9beta6 ×9
xcode ×4
ios ×3
ios11 ×3
arkit ×2
macos ×2
xcode9 ×2
app-thinning ×1
cloudkit ×1
homebrew ×1
scenekit ×1
swift ×1
uibutton ×1
xcode9-beta ×1