English 中文(简体)
页: 1 模拟器中Xcodebuild坠机的应用
原标题:iPhone App built with xcodebuild crashes in the simulator

我一直在努力撰写一个文字,以建立并向模拟者部署一个电话项目。 当我用x代码建设项目时,该项目会进行罚款,但当我把该项目建在指挥线时,它会坠毁于模拟器。

我正在利用以下指挥线来建设这一方向。

xcodebuild -project MyAppSourceCode/trunk/MyApp.xcodeproj -target "MyApp" -sdk iphonesimulator4.3

The build proces completes without errors. The simulator is running sdk4.3. I can build the app in xcode then manually replace the .app file in the simulator directory and it still crashes. This is a cocos2d app. Any suggestions?

EDIT:

我在模拟器中首先尝试了此处描述的“iphonesim”方案:。 你们如何从指挥线向模拟器部署一台 iPhone?

Second, I tried the simulator command for launching the app without copying it to the simulator directory: ~/../../Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app/Contents/MacOS/iPhone Simulator -SimulateApplication ~/MyAppSourceCode/trunk/build/Release-iphoneos/MyApp.app/MyApp

这种方法导致模拟器发射,从而显示一种流行的信息:“模拟应用............”。

当这项工作时,我写了一封信,将MyApp.pp复制到模拟者名录。 在将MyApp.应用于模拟目录之后,你可以从模拟器发射,但在发射后立即坠毁。

问题回答

注意,根据违约指挥线,采用Xcodebuild的RELEASE配置。 在X代码中,缺省为德国马克。

这意味着,你可能有一个只发生在释放场的坠机。 通过对建立释放组合的计划进行修改,在释放组合中尝试使用X码中的仪器。





相关问题
How to change out-of-focus text selection color in Xcode?

Okay, I ll bite. I ve got really pleasant code/window colors set up in Xcode. Ordinarily, my selection color is very visible. When I am doing a project search and iterating through the results, ...

Iphone NSTimer Issue

Hi I am new to objective c. I am trying to make an app for iphone. I have a button on my view, and the click on which the function playSound is called. This is working properly. It does plays the ...

Include a .txt file in a .h in C++?

I have a number of places where I need to re-use some template code. Many classes need these items In a .h could I do something like: #include <xxx.txt> and place all of this code in the ....

Iterating over string/strlen with umlauted characters

This is a follow-up to my previous question . I succeeded in implementing the algorithm for checking umlauted characters. The next problem comes from iterating over all characters in a string. I do ...

Xcode open two editor windows with same file

Is it possible to open the same file in two separate windows in Xcode. I can open a file in one window and the same file in the main Xcode editor window, but I wanted two separate fulltime editor ...

Forcing code signing refresh in Xcode

In our environment, we share resources across multiple projects and platforms. When building for iPhone, only a subset of those resources are needed. Since that subset is still considerable, we have ...

热门标签