English 中文(简体)
Why my application installed from cydia can t access core data?
原标题:

I wrote an application which uses sqllite via coredata. It works fine on simulator or being installed on a device from xcode. I need to provide a test version of application to some other people like ui designer or QA. I decided to use Cydia for this task. Although it installs fine it can t initialize persistentStoreCoordinator: addPersistentStoreWithType returns nil and error object reports Cocoa Error 258 (it looks like NSFileReadInvalidFileNameError, am i right?). What s wrong with cydia installation? Did anybody encounter such issue? Is there any other way to distribute an application among a group of people (not for everyone in appstore)? I suppose ad-hoc is not my case since they all live in different places.

最佳回答

There s another solution if you want to distribute your application : the AdHoc method.

This links describe how to set up the environment for beta tester : http://www.raywenderlich.com/1669/how-to-host-a-beta-test-for-your-ios-app

All you need from their iPhone is there UDID (Universal Device ID) and you can get this ID from there : http://www.innerfence.com/howto/find-iphone-unique-device-identifier-udid

The only one restriction is you can only manage 100 beta tester / year

(I know that s not the main subject, but why accessing SQLite using core Data ? This link can help : http://www.raywenderlich.com/tag/sqlite)

问题回答

You should be able to use core data without a problem. I ve noticed that most of the time when it isn t working, the file permissions of the jailbroken device have screwed up.

Try this: If you have SBsettings installed, open it (slide the menubar) and tap the "More" icon. From there, tap the "Extras" bar. Here, tap "Fix User dir permissions".





相关问题
Code sign Error

I have created a new iPhone application.I have two mach machines. I have created the certificate for running application in iPhone in one mac. Can I use the other mac for running the application in ...

ABPersonViewController Usage for displaying contact

Created a View based Project and added a contact to the AddressBook using ABAddressBookRef,ABRecordRef now i wanted to display the added contact ABPersonViewController is the method but how to use in ...

将音频Clips从Peter改为服务器

我不禁要问,那里是否有任何实例表明从Peit向服务器发送音响。 I m不关心电话或SIP风格的解决办法,只是一个简单的袖珍流程......

• 如何将搜查线重新定位?

我正试图把图像放在搜索条左边。 但是,问题始于这里,搜索条线不能重新布署。

热门标签