简体   繁体   English

iPhone模拟器无法在Titanium中打开,但没有错误

[英]iphone simulator will not open in Titanium, but no error

I am attempting to use titanium for the first time, and am new to development. 我是第一次尝试使用钛,并且对开发来说是新手。 When I try to run the kitchen sink project through the iphone simulator, it seems that it successfully builds the project, but immediately closes it. 当我尝试通过iphone模拟器运行Kitchen Sink项目时,似乎它可以成功构建该项目,但是立即将其关闭。 There are no error messages, but the console reads: 没有错误消息,但控制台显示:

[INFO] :   Deploy type: development
[INFO] :   Building for target: simulator
[INFO] :   Building using iOS SDK: 6.1
[INFO] :   Building for iOS iPhone Simulator: 6.1
[INFO] :   Building for device family: iphone
[INFO] :   Minimum iOS version: 5.0
[INFO] :   Debugging disabled
[INFO] :   Profiler disabled
[INFO] :   Initiating prepare phase
[INFO] :   Copying custom Info.plist from project directory
[INFO] :   Forcing rebuild: custom Info.plist CFBundleIdentifier not equal to tiapp.xml <id>
[INFO] :   Found Titanium module id=facebook version=latest platform=iphone deploy-type=development
[INFO] :   Detected third-party native iOS module: facebook version 3.1.1
[INFO] :   Cleaning old build directory
[INFO] :   Performing full rebuild
[INFO] :   Copying Xcode iOS files
[INFO] :   Creating Xcode project directory: /Users/robertjackel/Documents/Titanium_Studio_Workspace/Kitchen Sink/build/iphone/KitchenSink.xcodeproj
[INFO] :   Writing Xcode project data file: Titanium.xcodeproj/project.pbxproj
[INFO] :   Writing Xcode project configuration: project.xcconfig
[INFO] :   Writing Xcode module configuration: module.xcconfig
[INFO] :   Creating symlinks for simulator build
[INFO] :   Injecting native libraries into Xcode project file
[INFO] :   Forcing rebuild: ApplicationDefaults.m has changed since last build
[INFO] :   Writing properties to ApplicationDefaults.m
[INFO] :   Copying module resources
[INFO] :   No CommonJS modules to copy
[INFO] :   Loading and parsing JSS files
[INFO] :   Compiling localization files
[INFO] :   Invoking xcodebuild
[INFO] :   Finished building the application in 39s 143ms
[INFO] :   Running application in iOS Simulator
[INFO] :   Launching application in iOS Simulator
[INFO] :   Focusing the iOS Simulator
[INFO] :   Application has exited from iOS Simulator
[INFO] :   Project built successfully in 40s 320ms

The same is true with the ipad simulator. ipad模拟器也是如此。 I have installed the newest versions of titanium and xcode. 我已经安装了钛和xcode的最新版本。

Have you tried to go into the simulator though Xcode. 您是否尝试过通过Xcode进入模拟器。 Open Xcode and go to Xcode on your top bar then open developer tools then IOS Simulator. 打开Xcode并转到顶部栏上的Xcode,然后打开开发人员工具,然后打开IOS Simulator。

Then once the simulator opens goto IOS Simulator on the top bar and click Reset content and settings... 然后,当模拟器打开后,转到顶部栏上的IOS Simulator,然后单击“重置内容和设置...”。

Let me know if that works ?:) 让我知道是否可行?:)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM