草庐IT

ios - 可以在设备上调试应用程序但无法分析 : the app must be signed with a development identity

我有自定义方案,例如DebugStaging,它们是用开发身份签名的。我使用这些方案在调试时通过Xcode在我的手机上运行应用程序。然而,任何使用这些方案进行分析的尝试都会导致目标运行失败:调试[appname]的权限被拒绝。该应用必须使用开发身份(例如iOS开发者)进行签名这到底是怎么回事,我该如何摆脱Xcode中的这种邪恶??编辑:我们很久以前删除了Debug方案以使用更冗长的方案名称。 最佳答案 转到目标方案,产品->方案->编辑方案,然后从左侧菜单中选择“配置文件”并将构建配置设置为调试。

ios - 拒绝 : "2.23: Apps must follow the iOS Data Storage Guidelines", 我们没有在文档文件夹中保存任何数据

我们的App被App拒绝了,原因是:2.23WefoundthatyourappdoesnotfollowtheiOSDataStorageGuidelines,whichisrequiredpertheAppStoreReviewGuidelines.Inparticular,wefoundthatonlaunchand/orcontentdownload,yourappstoresover2MBdata.Tocheckhowmuchdatayourappisstoring:InstallandlaunchyourappGotoSettings>iCloud>Storage&Back

ios - OAuthException/代码 = 2500/消息 = "An active access token must be used to query information about the current user."

我正在尝试获取登录用户的数据(如姓名、性别、生日、个人资料图片等)。我尝试了以下两个代码,如下所示://first:Createrequestforuser'sFacebookdataFBRequest*request=[FBRequestrequestForMe];//SendrequesttoFacebook[requeststartWithCompletionHandler:^(FBRequestConnection*connection,idresult,NSError*error){NSLog(@"%@",error);if(!error){//resultisadictio

ios - 核心数据错误 : 'Objects must be sorted by section name' for specific languages such as Thai

CoreData:error:(NSFetchedResultsController)Thefetchedobjectatindex72hasanoutofordersectionname'อั.Objectsmustbesortedbysectionname'我使用以下代码按书名字段排序,并将书名的第一个大写字母显示为UITableViewController中的部分名称。代码在除泰语以外的所有语言中都能完美运行。我在Internet上看到有特殊的非美国字符导致此类问题(即Æ),但我还没有找到任何解决方案。请参阅gschandler对Thefetchedobjectatindex[i

ios - 解析后端上传文件的新错误 - 错误 : File name must be a string - PFFile

我正在构建一个IOS应用程序并使用parse.com作为后端。突然间,今天我收到这个错误-错误:文件名必须是一个字符串,没有任何其他解释。我确定我使用的文件名是一个字符串。我没有更改任何nativeIOS代码,因此它一定是一个新的Parse问题。唯一的区别-今天我将我的帐户更新为Parse上的新定价模型,想知道这是否相关?//CodesnippetNSString*fileName=@"test.mov";//Alsotriedjust@"test"PFFile*file=[PFFilefileWithName:fileNamedata:fileData];//NSData-28655

ios - 在 Xcode 5.1 中构建时出现 "You must provide a screenshot for 5.5-inch Retina display, because your app binary supports 5.5-inch Retina displays"

我更新了一个旧应用程序,修复了一个小错误。该应用程序是使用Xcode5.1编译的。(无法使用Assets目录或添加iPhone6和6Plus图像。)但是,当我尝试提交它进行审核时,我仍然收到此错误:Youmustprovideascreenshotfor4.7-inchRetinadisplay,becauseyourappbinarysupports4.7-inchRetinadisplays.Youmustprovideascreenshotfor5.5-inchRetinadisplay,becauseyourappbinarysupports5.5-inchRetinadisp

ios - "App must be built for iOS devices with Retina display"是什么意思

Apple最近宣布:“从5月1日开始,提交到AppStore的新应用和应用更新必须为配备Retina显示屏的iOS设备构建,iPhone应用还必须支持iPhone5上的4英寸显示屏”。我想知道“AppmustbebuiltforiOSdeviceswithRetinadisplay”是什么意思?是否有一些应用程序无法在Retina设备上运行?或者这意味着图形必须是为Retina设备设计的?如果有人提交了一个仅适用于320*480设备(3GS)的OpenGL应用程序,并在视网膜设备上缩放它,它会被拒绝吗? 最佳答案 这意味着您的应用必

ios - 控制台错误 : "react-native-maps" AirGoogleMaps dir must be added to your xCode project

console.error:"react-native-maps"AirGoogleMapsdirmustbeaddedtoyourxCodeproject我在尝试测试react-native-maps模块中的示例时遇到此错误。Github:https://github.com/airbnb/react-native-maps/tree/master/example很明显,我应该将目录添加到我的Xcode项目中,但我不知道如何添加它们。可以给我一个将目录添加到Xcode项目的示例吗? 最佳答案 我在使用reactnative0.61

ios - FB iOS 登录 - "The app must ask for a basic_info permission at install time."

我在AppStore中有一个应用程序调用了openActiveSessionWithReadPermission,如下所示:[FBSessionopenActiveSessionWithReadPermissions:@[@"email"]allowLoginUI:YEScompletionHandler:^(FBSession*session,FBSessionStatestate,NSError*error){[selfsessionStateChanged:sessionstate:stateerror:error];}];SDK版本为3.5。升级到这个最新版本时,我错过了登录A

objective-c - "property with ' weak' attribute must be of object type"是什么意思?

我的界面中有这个:@property(nonatomic,weak)NSTimeInterval*timeStamp;我的逻辑告诉我,我需要一个时间戳对象,这个对象只会在实例化的上下文中被这个类使用,所以“弱”对我来说似乎是合乎逻辑的——但XCode告诉我“具有“弱”属性的属性必须是对象类型“......如果我这样做:@property(nonatomic)NSTimeInterval*timeStamp;然后错误消失了,但我不确定我明白为什么...... 最佳答案 问题是NSTimeInterval是一个值类型——它是double