xcode5

Xcode 5 - clang: error: linker command failed with exit code 1 (use -v to see invocation)

╄→尐↘猪︶ㄣ 提交于 2020-01-13 17:33:11
问题 I am facing a linker error when running my source code, I have attached a screenshot also. I am new in iOS development and so I am not able to get the error. Any help would be much appreciated. 回答1: Please check https://testflightapp.com/sdk/ios/doc/ A library was not found, that testflight needs. Include that framework (lib) and you are done. 回答2: Xcode has a bug in which it will double-escape quotes in a path. Note how the error on the screen you captured has ' \" ' and such in it. These

Error uploading to iOS App Store: ERROR ITMS-9000 “This bundle is invalid”

谁都会走 提交于 2020-01-13 10:16:09
问题 When we try to upload a new version of our app to Apple's App Store we get the following error in Application Loader: ERROR ITMS-9000: "This bundle is invalid. New apps and app updates submitted to the App Store must be built with public (GM) versions of Xcode 5 and iOS 7 SDK. Do not submit apps built with beta software." at SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage) We are already building with the latest available version of Xcode, 5.1.1 (downloaded from the Mac App Store)

Thread 1: EXC_BAD_ACCESS (code=1, address=0xf00000c)

强颜欢笑 提交于 2020-01-12 13:45:15
问题 I have problem with Thread 1: EXC_BAD_ACCESS (code=1, address=0xf00000c) and I don't know how to resolve it. It appeared when I change some object in core date and save it and I try to pop this controller to parent. This error is in main() with retVal. here is some code int retVal; @try { retVal = UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); */\ error is here** } @catch (NSException *exception) { NSLog(@"%@", [exception callStackSymbols]); @throw exception; }

How to suppress warnings in Xcode?

我的梦境 提交于 2020-01-12 08:43:34
问题 In Xcode 5, is there any way to suppress warnings such as unused variables for number of files? Particularly latest Box2D 2.2.1 produces some warnings which are annoying but harmless. 回答1: Select the project in the navigator, then select the target from the list. Select the Build Phases tab, then expand the Compile Sources phase. The Compiler Flags column is where you specify per-file compiler flags. Enter -Wno- to negate a warning. e.g.: -Wno-unused-parameter 回答2: You can add a compiler flag

How to auto increment the build number in Xcode 5 [duplicate]

Deadly 提交于 2020-01-11 14:49:08
问题 This question already has answers here : Better way of incrementing build number? (21 answers) Closed 5 years ago . I was wondering if Xcode 5 is providing a setting to automatically count up the Build number found under General in the Identity section of the project navigator. But afaik you still have to do it with scripting, using PlistBuddy. One simple solution is to increase the build number in Xcode 5 is posted below: 回答1: Go to Editor -> Add Build Phase -> Add Run Script Build Phase Go

How to add GIF images to Asset Catalog in XCode5

狂风中的少年 提交于 2020-01-11 08:29:07
问题 Does any one know how to add GIF image files to an Asset Catalog in XCode5? 回答1: Go to your Images.xcassets folder and create a folder named MyGifAnimation.xcassets, then put your MyGifAnimation@2x.gif and MyGifAnimation.gif files in it. After that, create a Contents.json file. Open that with your favorite text editor and write the following in it: { "images": [{ "idiom": "universal", "scale": "1x", "filename": "MyGifAnimation.gif" }, { "idiom": "universal", "scale": "2x", "filename":

iOS7 new update V 7.1(11D167) not compatible in Xcode 5 for development

帅比萌擦擦* 提交于 2020-01-10 14:03:23
问题 I got notification of IOS7 new version V7.1. I have installed on my iPhone 4S. As I am developer my iPhone 4S is not detected in development mode in Xcode 5 SDK. When I opened organizer in Xcode. It shows, The version of iOS on “iPhone 4S” is not supported by this installation of the iOS SDK. Please restore the device to a version of the OS listed below, or update to the latest version of the iOS SDK; which is available here. OS Installed on iPhone 4S 7.1 (11D167) Hope Apple fix this issue.

iOS7 new update V 7.1(11D167) not compatible in Xcode 5 for development

十年热恋 提交于 2020-01-10 14:02:21
问题 I got notification of IOS7 new version V7.1. I have installed on my iPhone 4S. As I am developer my iPhone 4S is not detected in development mode in Xcode 5 SDK. When I opened organizer in Xcode. It shows, The version of iOS on “iPhone 4S” is not supported by this installation of the iOS SDK. Please restore the device to a version of the OS listed below, or update to the latest version of the iOS SDK; which is available here. OS Installed on iPhone 4S 7.1 (11D167) Hope Apple fix this issue.

UITableViewCell delete button gets covered up

自作多情 提交于 2020-01-09 03:20:51
问题 UPDATE: Thanks to information from "Evgeny S" I've been able to determine that what is covering up the delete button is the cell background. I had the following function called at the beginning of cell init: - (void) setupGradientsWithHeight:(int) the_height { CAGradientLayer* gradient = [CAGradientLayer layer]; gradient.frame = CGRectMake(self.bounds.origin.x, self.bounds.origin.y, self.bounds.size.width, the_height); gradient.colors = [NSArray arrayWithObjects: (id)[UIColor colorWithRed:218

Xcode 5 crashes — Xcode quit unexpectedly

倖福魔咒の 提交于 2020-01-09 03:20:27
问题 Xcode 5 from the App Store crashes when I select any file in the Project Navigator or when I try to edit it. I have deleted all plugins and the derived data for the app and it keeps crashing. Does anyone know how to fix this and why this is happening? Below is the first part of the error. Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Application Specific Information: ProductBuildVersion: 5A1412 ASSERTION FAILURE in /SourceCache/DVTFoundation