我第一次尝试使用钛,并且是开发新手。当我尝试通过iphone模拟器运行厨房水槽项目时,它似乎成功构建了项目,但立即关闭它。没有错误消息,但控制台显示:
[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
ipad模拟器也是如此。我已经安装了最新版本的钛和xcode。
答案 0 :(得分:0)
你有没有试过通过Xcode进入模拟器。打开Xcode并转到顶部栏上的Xcode,然后打开开发人员工具,然后打开IOS Simulator。
然后,一旦模拟器打开顶部栏上的IOS Simulator,然后点击重置内容和设置......
如果有效,请告诉我?:)