简体   繁体   English

如何在客户端的模拟器上检查我的应用程序

[英]How to check my app on client's simulator

Is there any way that client can check my app on his simulator what should i do for that...I do not want to send code of my application to him..... 有没有办法客户端可以在他的模拟器上检查我的应用程序我该怎么做...我不想发送我的应用程序的代码给他.....

I know adhoc is required to test on device but here i want to run on his simulator... 我知道adhoc需要在设备上测试,但在这里我想在他的模拟器上运行...

Build your app for the iPhone Simulator (iOS 4.2 on this example) and run it from Xcode. 为iPhone模拟器构建您的应用程序(本例中为iOS 4.2)并从Xcode运行它。 The app should now be stored in a coded subfolder under ~/Library/Application Support/iPhone Simulator/4.2/Applications/ (eg ~/Library/Application Support/iPhone Simulator/4.2/Applications/E5548CB9-0A50-49EF-92AB-39F10820D9D6/) 该应用程序现在应存储在〜/ Library / Application Support / iPhone Simulator / 4.2 / Applications /下的编码子文件夹中(例如〜/ Library / Application Support / iPhone Simulator / 4.2 / Applications / E5548CB9-0A50-49EF-92AB-39F10820D9D6 /)

Send your client the whole subfolder (E5548CB9-0A50-49EF-92AB-39F10820D9D6) and tell him to copy it over to /Library/Application Support/iPhone Simulator/4.2/Applications/, then run the iPhone simulator. 向您的客户端发送整个子文件夹(E5548CB9-0A50-49EF-92AB-39F10820D9D6)并告诉他将其复制到/ Library / Application Support / iPhone Simulator / 4.2 / Applications /,然后运行iPhone模拟器。 He should be able to see the app on the simulator and run it. 他应该能够在模拟器上看到应用程序并运行它。 Note that the app will probably appear on the second 'page' of the simulator, so you client may need to scroll to the right. 请注意,该应用程序可能会出现在模拟器的第二个“页面”上,因此您的客户端可能需要向右滚动。

You can test this between different machines at your own office prior to sending it to your client. 您可以在将其发送到客户端之前在自己办公室的不同计算机之间进行测试。 He'll have to have Mac OS X 10.6 with the latest iOS SDK installed of course. 当然,他必须安装最新的iOS SDK Mac OS X 10.6。

Go: Macintosh HD\\Users\\ YourUserName \\Library\\Application Support\\iPhone Simulator\\ iPhoneVersionNumber \\Applications: Go:Macintosh HD \\ Users \\ YourUserName \\ Library \\ Application Support \\ iPhone Simulator \\ iPhoneVersionNumber \\ Applications:

Then you have to look through each "AJ2783FO29ZO38-WSOHF93" weirdly named folder and find the one that is your app folder. 然后你必须查看每个“AJ2783FO29ZO38-WSOHF93”奇怪的命名文件夹,找到你的app文件夹。 Copy it and put it in the same place on your clients computer. 将其复制并放在客户端计算机上的相同位置。

I have not personally tried this myself. 我自己没有亲自试过这个。 Let me know if you need any other information! 如果您需要任何其他信息,请告诉我们!

There is no Apple supported method. 没有Apple支持的方法。 However if you quit your Simulator after installing your app, zip up your entire Library Applications Support directory for the iPhone Simulator, send it to the client and have the client replaces theirs (after a backup of their Library, or maybe running in another Mac User account). 但是,如果您在安装应用程序后退出模拟器,请压缩iPhone模拟器的整个“库应用程序支持”目录,将其发送到客户端并让客户端替换它们(在备份其库之后,或者可能在其他Mac用户中运行)帐户)。 Then when they start their Simulator (has to be from the exact same Xcode/SDK installer as yours), they will see a clone of your Simulator, with your app installed. 然后,当他们启动模拟器(必须来自与您完全相同的Xcode / SDK安装程序)时,他们将看到您的模拟器的克隆,并安装了您的应用程序。

Trying to copy just the app bundle may or may not work, as some versions of the Simulator depend on metadata elsewhere within the App Support dir. 尝试仅复制应用程序包可能会或可能不会正常工作,因为某些版本的模拟器依赖于App Support目录中的其他元数据。

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

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