草庐IT

bundle-identifier

全部标签

ios - 知道另一个应用程序的 bundle id,可能会破解钥匙串(keychain)访问?

关闭。这个问题需要更多focused.它目前不接受答案。想改进这个问题吗?更新问题,使其只关注一个问题editingthispost.关闭3年前。Improvethisquestion我真的在想,如果黑客获得了我的应用程序的bundleid,黑客是否可以访问我的应用程序的key链?asak、bundleid是唯一的,因此不能重复使用。我不会共享钥匙串(keychain)。如果黑客以某种方式知道我的应用程序的捆绑ID,黑客是否能够访问我的应用程序的钥匙串(keychain)?谢谢

swift - Xcode8 'Could not load NIB in bundle'

自从我将我的项目升级到xcode8和swift3后,我在ios10设备和模拟器上运行我的应用程序时遇到了麻烦。我可以正常启动应用程序,但使用一段时间后出现以下错误:***Terminatingappduetouncaughtexception'NSInternalInconsistencyException',reason:'CouldnotloadNIBinbundle:'NSBundle(loaded)'withname'Ncx-Ud-4zl-view-1i6-0r-ivc'anddirectory'Main.storyboardc''***奇怪的是,有时我可以浏览同一个菜单或查看

ios - iMessage 扩展 : Getting bundle nil from different target

我有一个现有的应用程序,想创建一个iMessage扩展程序。所以我在我的项目中添加了目标iMessage扩展。现在我想通过容器View在该扩展中显示我现有的View。我添加了代码:letmainBundle=Bundle(identifier:"com.marvel.nearby")print("MAIN_BUNDLE:\(mainBundle)")//gettingnilletstoryboard=UIStoryboard(name:"Main",bundle:mainBundle)letviewController=storyboard.instantiateViewControl

iphone - 由于未捕获的异常 'NSInvalidArgumentException' 而终止应用程序,原因 : 'Receiver () has no segue with identifier ' pizzaSegue'

我是快速编程的新手,当它被按下到ViewController提供有关该单元格的详细信息时,我从tableview单元格执行segue时遇到错误。我得到的错误是:Terminatingappduetouncaughtexception'NSInvalidArgumentException',reason:'Receiver()hasnoseguewithidentifier'pizzaSegue''我已经尝试过以下方法:1)尝试重命名Storyboard并确保在项目设置和info.plist文件中设置主Storyboard(关键是“主Storyboard文件基名”)。我目前的Storyb

ios - 在 Mac 上预创建 Array,将其添加到 main bundle 以在 iOS App 中访问

在我的应用程序中,我使用自己创建的点数组通过CGPath屏蔽图像。看起来像这样letpnt1=CGPointMake(0,33)letpnt2=CGPointMake(33,66)letpnt3=CGPointMake(47,71)letpnt4=CGPointMake(66,65)letpnt5=CGPointMake(79,69)letpnt6=CGPointMake(90,67)letpnt7=CGPointMake(116,36)letpnt8=CGPointMake(93,8)letpnt9=CGPointMake(59,0)letpnt10=CGPointMake(37,0

ios - 尝试将图像调整为缩略图,kCGInterpolationHigh 出现错误 "Use of unresolved identifier"

尝试使用以下代码将图像调整为缩略图,出现错误:Useofunresolvedidentifier对于kCGInterpolationHigh@IBActionfuncdropPhoto(sender:AnyObject){presentViewController(imagePicker,animated:true,completion:nil)}funcimagePickerController(picker:UIImagePickerController,didFinishPickingImageimage:UIImage,editingInfo:[String:AnyObject

swift - 错误 ITMS-90205 : "Invalid Bundle. The bundle at ' NotificationServiceExtension. appex' 包含不允许的嵌套包。”

ERRORITMS-90206:"InvalidBundle.Thebundleat'app.app/PlugIns/OneSignalNotificationServiceExtension.appex'containsdisallowedfile'Frameworks'."ERRORITMS-90206:"InvalidBundle.Thebundleat'app/PlugIns/OneSignalNotificationServiceExtension.appex'containsdisallowedfile'Frameworks'."在我的应用项目中始终嵌入Swift标准库=否

ios - 为什么不将 database.db 从 bundle 复制到 swift 3 中的文档目录?

这个问题在这里已经有了答案:Abletowrite/readfilebutunabletodeletefileSWIFT(1个回答)关闭6年前。我尝试将我的数据库从包路径复制到目标路径(文档目录)并在iOS8、Swift3和Xcode8final:letbundlePath=Bundle.main.path(forResource:"cry",ofType:".db")print(bundlePath,"\n")//printsthecorrectpathletdestPath=NSSearchPathForDirectoriesInDomains(.documentDirectory

swift - 收到错误 : Use of unresolved identifier 'NSRectFill' , 但 __NSRectFill 有效,为什么?

我是Swift4的新手,使用Xcode9编写代码。尝试创建一个非常简单的MacOS绘图应用程序,只是为了更多地了解Swift。我复制了一些非常简单的教程代码,但收到错误消息“使用未解析的标识符‘NSRectFill’。我注意到编译器提示我使用__NSRectFill并且这有效...但是为什么呢?我做错了什么吗?importCocoaclassGraphView:NSView{overridefuncdraw(_dirtyRect:NSRect){super.draw(dirtyRect)NSColor.white.setFill()NSRectFill(bounds)}}

ios - Playground : Use of unresolved identifier 'NSColor'

我尝试在Xcode6-Beta4中玩playground,并输入以下内容:importUIKitletcolor=NSColor.blueColor()错误是:Useofunresolvedidentifier'NSColor'谁能解释一下为什么? 最佳答案 如果您正在为iOS开发并因此使用importUIKit(如您的代码所示),则相应的颜色界面来自UIColor。因此:对于旨在同时在iOS和OSX中工作的代码,您可以使用:#ifos(macOS)||targetEnvironment(macCatalyst)importAppK