草庐IT

INVALID_SCOPE

全部标签

ios - 无效更新 : invalid number of rows in section 0

当我尝试在列表中删除或添加对象时遇到问题错误:2014-09-0410:59:03.815DeleteListTest[2781:60b]***Assertionfailurein-[UITableView_endCellAnimationsWithContext:],/SourceCache/UIKit_Sim/UIKit-2935.137/UITableView.m:13682014-09-0410:59:03.856DeleteListTest[2781:60b]***Terminatingappduetouncaughtexception'NSInternalInconsist

ios - ERROR ITMS-9000 : invalid bundle. xyz.app 中的包不包含包可执行文件

我正在尝试将应用程序提交到应用程序商店。我收到此错误:ERRORITMS-9000:invalidbundle.thebundleatxyz.appdoesnotcontainbundleexecutable.一切都是正确的:bundleID、certificate、provisionprofile都是一样的。但仍然给我上面的错误。 最佳答案 确保您的设备未连接到计算机。然后建立你的文件。这里就是这种情况:Validatingapp,applicationismissingArchitecturearmv7

ios - glTexSubImage2D -> GL_INVALID_OPERATION

为什么是glTexSubImage2D()突然导致GL_INVALID_OPERATION?我正在尝试将我过时的增强现实应用程序从iOS4.x升级到iOS5.x,但我遇到了困难。我运行的是iOS5.0。上周我运行了iOS4.3。我的设备是iPhone4。这是我的captureOutput:didOutputSampleBuffer:fromConnection:代码的片段uint8_t*baseAddress=/*pointertocamerabuffer*/GLuinttexture=/*thetexturename*/glBindTexture(GL_TEXTURE_2D,text

ios - 通过应用程序加载器提交应用程序时出现 "error itms 9000 invalid image path"错误

我已经从xcode4.6创建了xcarchive文件。在xcode4.6中,我们只需要添加4种尺寸的应用程序图标文件。但是我在xcode4.6中添加了3个额外的应用程序图标文件以支持ios7。但是当我提交应用程序时,我不断遇到错误。Apple'swebserviceoperationwasnotsuccessfulUnabletoauthenticatethepackage:580659297.itmspERRORITMS-9000:"Thisbundleisinvalid.ThevalueforkeyCFBundleVersion[042.3.1.0.b014]intheInfo.p

ios - NSInteger 乘法 : Invalid operands to binary expression

我尝试将两个NSInteger相乘,但Xcode给我一个错误:NSIntegersinglePage=((NSInteger)floor((scrollView.contentOffset.x*2.0f+pageWidth)/(pageWidth*2.0f)));NSIntegerpage=singlePage*visiblePages;错误本身:Invalidoperandstobinaryexpression('NSInteger'(aka'int')and'NSInteger*'(aka'int*'))NSIntegervisiblePages已经定义并被传递给一个方法。我认为编

ios - 上传IPA,奇怪的问题: ERROR ITMS-90032 :“Invalid Image Path - No image found at the path referenced under key ' $key': '$path'

大家好,当我尝试通过Xcode将新版本上传到iTunesConnect时出现了一个奇怪的问题。我认为是Info.plist文件的问题。信息.plist:https://docs.google.com/document/d/1Rp51VcZkP-uoUnaBwtr86EAPLLq-aN2w9f2CNrRZsBQ/edit?usp=sharing谢谢! 最佳答案 Icon-Splotlight-iOS7.pngIcon-Splotlight-iOS7@2x.png可能是Spotlight图片的拼写错误。

ios - Appcelerator 工作室通过 mac os : Invalid "--device-id"

当我尝试在Mac上的Appcelerator中运行应用程序时出现错误。在我安装XCode9.2+iOS11.2之前Appcelerator成功找到了xcode和可用的模拟器列表:执行结果:[ERROR]:Invalid"--device-id"value"15E7FD44-6368-43A3-BB93-075D4145B652"AvailableiOSSimulators:Forhelp,run:titanium.jshelpbuild另外,命令“info-tIOS”给出了关于可用iOS模拟器空列表的矛盾结果。$appctiinfo-tiOSAppceleratorCommand-Li

ios - 是什么导致了 <Error> : CGContextSetBaseCTM: invalid context 0x0 when implementing loadView?

我有一个在loadView中执行此操作的ViewController:self.view=[[UIViewalloc]init];有时这会导致控制台出现以下错误::CGContextSetBaseCTM:无效上下文0x0。这是一个严重的错误。此应用程序或其使用的库正在使用无效的上下文,从而导致系统稳定性和可靠性的整体下降。此通知是礼貌的:请解决此问题。它将在即将到来的更新中成为fatalerror。如果您改为调用[superloadView],则不会发生这种情况。为什么? 最佳答案 如果您在拥有图形上下文之前尝试在图形上下文中或对图

ios - 奇怪的 "The executable was signed with invalid entitlements"错误...似乎是由 iOS 8 共享引起的?

由于iOS8共享,我不得不创建一个包ID和配置文件以供共享。这个新的bundleID通过应用程序组链接到我现有的bundleID,我的权利文件指定了应用程序组。但是,现在我的通配符配置文件不起作用。当我尝试构建时,Xcode显示“可执行文件已使用无效权利签名”。只有当我使用具有特定bundleID的配置文件时,它才有效。这对我的公司来说已成为一个大问题。有什么想法吗?我们想使用通配符,因为我们添加了很多设备,而通配符不需要为所有开发人员刷新我们的配置文件。 最佳答案 当您需要使用特殊权利(iCloud、推送通知等)时,您不能再使用通

ios - 为什么 UIViewController.UIView 对子 UIViewLabel 的约束抛出错误 "Invalid pairing of layout attributes"?

我试图放置一个标签,使标签的顶部位于UIViewController下方的2/3处。所以我写了这个约束,但它给了我下面的错误。NSLayoutConstraint*labelTopConstraint=[NSLayoutConstraintconstraintWithItem:self.myLabelattribute:NSLayoutAttributeToprelatedBy:NSLayoutRelationGreaterThanOrEqualtoItem:self.viewattribute:NSLayoutAttributeHeightmultiplier:0.66constan