问题标签 [xcode9]
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.
ios - Xcode 9 本地化不起作用?
我已经在丹麦语的应用程序中进行了一段时间的本地化,当我更新 Xcode 9 并在模拟器中运行它时,一切都开始以丹麦语出现......我不知道为什么?
我确保我的所有设置都是英语并设置为美国,但是当我在模拟器中运行应用程序时,所有内容都以丹麦语显示。有人对这个有了解吗?也许只是一个测试版错误?谢谢!!
keras - How to format input data for an conv1d/lstm nn in coreml converted from keras
My keras model with input shape (none, 40 [timesteps], 12 [features]) looks like this:
After converting it to .mlmodel, I add it to my XCodeProject:
I then try to do inference and get prediction scores:
But the predictionModel.prediction(input: input) method always fails and throws the following error:
"The model expects input feature lstm_1_h_in to be an array, but the input is of type 0."
So hidden states of the lstm layers need to be initialized. I don't know if this behavior is expected, since I never faced the same problem before. Neither while doing inference in keras itself or with google cloud ml. I also don't know the initial values, which are usually chosen for inference. Maybe just arrays of zeros? Did anyone face a similar problem?
The .mlmodel file could be found here.
ios - Xcode 9 错误:找不到 cdtool
安装 Xcode 9 beta 后,Xcode 8 在编译项目时给我一个错误:
在“/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/cdtool”中找不到 cdtool:找不到平台的模拟器运行时
<DVTPlatform:0x7fd67af0a930:'com.apple.platform.iphonesimulator':<DVTFilePath:0x7fd67af0a7c0:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform'>>
。
我怀疑 Xcode 9 修改了 Xcode 8 的一些共享状态(设置路径、覆盖文件等)。但是我尝试删除两个 Xcode 都无济于事。
该项目使用核心数据,并且在尝试编译 xcdatamodel 时显然失败了。
我仍然可以在 Xcode 9 下编译和运行。
ios - swift 4.0编译的模块不能导入swift 3.1
显然我已经设法在 Xcode 9 beta 中构建我的项目,现在我只得到错误
swift 4.0编译的模块不能导入swift 3.1
当我在 Xcode 8 中运行项目时。我的模块是 Alamofire。我试图重新启动 Xcode 但没有任何想法如何解决这个问题?
swift4 - 为什么会出现错误:解码 CoreML 文档时出现问题?
我在 Xcode 9 Beta 上使用 CoreML 和 Swift 4.0。
如果您VGG16.mlmodel
在项目导航器中选择一个文件,我会收到错误消息:There was an problem decoding this document CoreML
此外,作为代码的结果,我得到了错误Use of unresolved identifier 'VGG16'
和Use of undeclared type 'VGG16'
VGG16.mlmodel从这里下载https://developer.apple.com/machine-learning/
可能是什么问题呢?
模型 Places205-GoogLeNet、ResNet50 和 Inception v3 的 PS 一切正常。
ios - 为什么我无法在不同的网络上运行应用程序(iOS 11)
嗨,我能够在同一网络上正确运行应用程序,但无法在 xcode 9-Beta 版本的不同网络上运行应用程序,我只是想知道为什么它不能在不同网络上运行?
任何人都可以对此有所了解吗?
ios - Xcode 9 和 Swift 4 - 呈现视图控制器时意外崩溃
我只有在使用 Xcode 9 Beta 1 和 Swift 4 时才会崩溃。我试图呈现一个视图控制器,但抛出了一个异常,即使我有几个断点来捕获所有异常 Xcode 不会在任何地方停止。
使用 lldb 我能够打印异常,因为 Xcode 没有这样做。这是我得到的:
这是堆栈跟踪:
和回溯:
我知道它与无法识别的选择器有关,但我没有对UIDeviceRGBColor
or做任何事情PointSize
。
不太确定会发生什么,当我切换到 Xcode 8 时,这一切都很好。
如果您想复制,请随时在此处克隆项目并切换到features/ios11
分支。您所要做的就是完成介绍屏幕,然后单击+
按钮。崩溃将在之后立即发生。使用Xcode 9 Beta 1运行
我知道这可能只是一个 beta 错误,但如果有人对此有更多经验,我将不胜感激,如果没有,至少可以帮助我如何提交 Xcode 错误报告,因为我从未做过。
谢谢!