国外有人有解决办法了:
since yesterday's OSX update, every other run on the simulator is crashing on start. It appears to work fine when compiling and running on hardware.
I thought it could be useful for your to warn other developers to hold off from performing the update if they want to work on the simulator."
I've experienced the same issue, but found that switching from LLDB to GDB (on the advice of Tony Arnold from Apple's Dev Forums) seems to fix the problem for the moment.
Update your scheme by selecting Product > Scheme > Edit Scheme, and choose the GDB debugger for your debug scheme.
简单的说,就是把Scheme里的LLDB换成GDB,就解决这个问题了!
Translate
2013年6月4日 星期二
Xcode files ARC setting
To see which files override the ARC setting:
Select your project in the navigator. This will open the project editor.
In the project editor, select your target.
In the project editor, click Build Phases (not Build Settings).
Expand the Compile Sources build phase.
Here, you can see the compiler flags for each file. Files with that set whether or not to use ARC will include either -fno-objc-arc or -fobjc-arc, for specifying MRR or ARC respectively.
Select your project in the navigator. This will open the project editor.
In the project editor, select your target.
In the project editor, click Build Phases (not Build Settings).
Expand the Compile Sources build phase.
Here, you can see the compiler flags for each file. Files with that set whether or not to use ARC will include either -fno-objc-arc or -fobjc-arc, for specifying MRR or ARC respectively.
2012年9月5日 星期三
Application does not run in background
在專案的info.plist新增
Application does not run in background
設為YES
Application does not run in background
設為YES
2012年5月31日 星期四
xcode read plist and txt
注意[NSBundle mainBundle]裡面的檔案是唯讀的不可變動
read plist
read plist
NSString *plistPath = [[NSBundle mainBundle] pathForResource:@"read" ofType:@"plist"];
NSMutableDictionary *plistData = [[NSMutableDictionary alloc] initWithContentsOfFile:plistPath];
read txt
NSString *txtpath = [[NSBundle mainBundle] pathForResource:@"read" ofType:@"txt"];
NSString *txtText = [NSString stringWithContentsOfFile:txtpath encoding:NSUTF8StringEncoding error:nil];
2012年5月30日 星期三
iPhone App Icon 去上方光圈
在Xcode裡面的info.plist
Key
Icon already includes gloss effects
Type
Boolean
Value
YES
這樣Icon就會去光圈
iTunes上的512*512的圖
會等審核成功後也會一起去光圈不必擔心
Key
Icon already includes gloss effects
Type
Boolean
Value
YES
這樣Icon就會去光圈
iTunes上的512*512的圖
會等審核成功後也會一起去光圈不必擔心
訂閱:
文章 (Atom)
