我正在使用UIWebView XCode版本8.3.当我启动应用程序时,我的控制台继续向我显示此错误,但我不明白这意味着什么.在我UIViewController的没有代码,所以我不明白为什么XCode继续向我显示这个错误.
我只有一个在我的地方webview viewcontroller通过Storyboard.
这是错误: -
2017-04-07 23:54:50.081592 + 0200 Conquers [1647:697735] libMobileGestalt MobileGestaltSupport.m:153:piid 1647(Conquers)没有为frZQaeyWLUvLjeuEK43hmg提供沙盒访问权限而且未获得相应的授权
2017-04-07 23:54:50.081651 + 0200 Conquers [1647:697735] libMobileGestalt MobileGestalt.c:550:无法访问InverseDeviceID(请参阅参考资料)
No such module当我尝试构建项目时,我正在寻找Pods.如果我删除期望这个Pod的代码,另一个'没有这样的模块'会出现另一个Pod,这意味着每个Pod都必须受到影响.当我输入时,pod install我收到以下消息:
[!] The X target overrides the `EMBEDDED_CONTENT_CONTAINS_SWIFT` build setting defined in `X’. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
[!] The `X` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `X'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
Run Code Online (Sandbox Code Playgroud)
我为我的应用程序的调试和发布版本以及两个测试获得了这些,所以总共有12条消息.
我已经设置Always …
当我编译应用程序时,我得到一个等于这个错误:
无法构建Objective-C模块'Firebase'
import Firebase我的文件swift中出现此错误.
使用时xcode 8做推送通知设置,不像xcode 7,xcode 8需要推送通知功能切换开发商转(位于TARGETS -> AppName -> Capabilities如下图),

然后它将生成AppName.entitlements文件,如下所示
//AppName.entitlements
<key>aps-environment</key>
<string>development</string>
Run Code Online (Sandbox Code Playgroud)
但对于生产版App,如果我们将字符串更改为
//AppName.entitlements
<key>aps-environment</key>
<string>production</string>
Run Code Online (Sandbox Code Playgroud)
然后功能显示警告
似乎无论在aps-environment中指定了哪个字符串值,我们仍然可以获得推送设备令牌 application:didRegisterForRemoteNotificationsWithDeviceToken:
那么推送通知权利的正确设置是什么?谢谢
push-notification ios10 xcode8 unnotificationrequest xcode8-beta6
当我使用xcode 8在ios 10中运行我的应用程序时,我在调试控制台中收到以下消息,但一切正常.我的应用程序是使用相机和照片库,我在info.plist中添加了" 隐私 - 相机使用说明 "和" 隐私 - 照片库使用说明 ".任何人都可以告诉我为什么这个消息在即将到来
[MC] systemgroup.com.apple.configurationprofiles路径的系统组容器是/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
我最近将我的iOS应用程序项目更新到iOS 10.现在我正在尝试更改我的应用程序的核心数据模型,但Xcode生成的新NSManagedObject子类已损坏.我也尝试修复子类手册,但这不起作用.
Core Data Model的最小工具版本设置为Xcode 7.0,代码生成语言设置为Swift.
这是Xcode生成的代码:
import Foundation
import CoreData
import
extension Group {
@nonobjc public class func fetchRequest() -> NSFetchRequest {
return NSFetchRequest(entityName: "Group");
}
@NSManaged public var name: String?
@NSManaged public var platform: NSNumber?
@NSManaged public var profiles: NSOrderedSet?
}
// MARK: Generated accessors for profiles
extension Group {
@objc(insertObject:inProfilesAtIndex:)
@NSManaged public func insertIntoProfiles(_ value: SavedProfile, at idx: Int)
@objc(removeObjectFromProfilesAtIndex:)
@NSManaged public func removeFromProfiles(at idx: Int)
@objc(insertProfiles:atIndexes:)
@NSManaged public func insertIntoProfiles(_ values: [SavedProfile], at indexes: NSIndexSet)
@objc(removeProfilesAtIndexes:) …Run Code Online (Sandbox Code Playgroud) 供应配置文件位于项目和/或文件目录中的Xcode 8.3.3中的哪个位置?
一切正常,直到我使用Xcode 7.3.0构建我的cordova应用程序,但是只要我在使用Xcode 8构建相同的应用程序时,只要我将方向从Portrait更改为Landscape,它在iOS 10设备上开始崩溃,因为它在iOS上仍能正常工作9.3.1.在调试器中,我得到以下日志:
Run Code Online (Sandbox Code Playgroud)2016-09-24 18:14:41.212470 MyApp[2542:1028606] [Common] _BSMachError: port 1607; (os/kern) invalid capability (0x14) "Unable to insert COPY_SEND" 2016-09-24 18:14:41.613460 MyApp[2542:1028606] [Common] _BSMachError: port 1607; (os/kern) invalid name (0xf) "Unable to insert COPY_SEND" 2016-09-24 18:14:41.613947 MyApp[2542:1028606] [Common] _BSMachError: port 1607; (os/kern) invalid name (0xf) "Unable to insert COPY_SEND" 2016-09-24 18:14:41.614469 MyApp[2542:1028606] [Common] _BSMachError: port 1607; (os/kern) invalid name (0xf) "Unable to deallocate send right" Message from debugger: Terminated due to memory issue
下面是堆栈跟踪
警告:无法从dyld共享缓存加载任何Objective-C类信息.这将显着降低可用类型信息的质量.
Run Code Online (Sandbox Code Playgroud)* …
当我尝试在运行一个应用程序的iOS模拟器10使用xcode8我得到这些警报频繁.它们一次随机出现两个,并且不明显是什么触发它们.
下面是我得到的错误图片.
我试过以下事情.
xcode8 ×10
ios10 ×7
ios ×5
xcode ×5
objective-c ×2
app-signing ×1
cocoapods ×1
cordova ×1
core-data ×1
firebase ×1
iphone ×1
swift ×1
swift3 ×1
uiwebview ×1
xcode8-beta6 ×1