I'm developing an iPad app that will be distributed in-house using the Enterprise Program membership. However, "in-house" means distributed to various worldwide locations.
我正在开发一个iPad应用程序,它将通过企业项目会员身份在内部发布。然而,“内部”意味着分布到世界各地。
The app binary itself will be universal for all content, client locations worldwide. However, the content (an SQLite DB file) will vary between devices. One iPad in UK has the English content file for a product, whilst another in France has the French content for a different product loaded.
应用程序二进制本身将适用于全球所有内容和客户端位置。但是,内容(一个SQLite DB文件)在不同的设备上是不同的。英国的一个iPad有一个产品的英文内容文件,法国的另一个iPad则有另一个产品的法语内容。
The plan is to send the different client locations their content so that they can connect their devices to iTunes, install (or update, important!) the app and then copy the SQLite DB file to the device.
计划是发送不同的客户端位置,以便他们可以将他们的设备连接到iTunes,安装(或更新,重要!)应用程序,然后将SQLite DB文件复制到设备上。
Can we do this, and how will it work? What are the limitations?
我们能做到这一点吗?局限性是什么?
Acceptable answers must include the following:
可接受的答案必须包括以下内容:
- Confirmation and description on how the SQLite content file can be synced
- 关于如何同步SQLite内容文件的确认和描述
- Confirmation and description/resource on how the distribution will work
- 关于分发版如何工作的确认和描述/资源
I've found one somewhat related question: Distributing database updates to an iPhone application without downloading the whole database
我发现了一个有点相关的问题:在不下载整个数据库的情况下,将数据库更新分发给iPhone应用程序
2 个解决方案
#1
4
Would it be ok to have the App start up in a "neutral" mode?
让应用程序以“中立”模式启动可以吗?
Show icons for the different content types (Language Flags perhaps), and when you touched one, it would download from your server the appropriate data pack.
显示不同内容类型的图标(可能是语言标记),当您触摸其中一个时,它将从您的服务器上下载适当的数据包。
If certain users are only allowed certain content, maybe you could send them an out-of-band URL or password that they enter to get their personal content.
如果某些用户只允许某些内容,也许你可以给他们发送一个带外的URL或密码来获取他们的个人内容。
That way the App distro is always identical, and your server manages the customization packs.
这样,应用程序发行版总是相同的,而您的服务器管理定制包。
#2
1
I've now completed the project and can confirm that this technique is perfectly valid. We are distributing the application and SQLite database file along with the content (image and video) to the clients, which by the way has to enter the Enterprise Program themselves. The clients install the application via iTunes in an ad-hoc-manner, and then copy the database file and content files to the iPad in the iTunes interface.
我现在已经完成了这个项目,可以确认这个技术是完全有效的。我们将应用程序和SQLite数据库文件以及内容(图像和视频)分发给客户端,而客户端必须自己输入企业程序。客户端通过iTunes以广告方式安装应用程序,然后在iTunes界面中将数据库文件和内容文件复制到iPad上。
The distribution itself is very straightforward, since the application package we are sending the clients are signed and provisioned. They won't encounter any issues with installing and updating, all they need is the free iTunes account and our application related files.
分发版本身非常简单,因为我们发送给客户端的应用程序包是经过签名和供应的。他们不会遇到任何安装和更新的问题,他们只需要免费的iTunes帐户和我们的应用程序相关的文件。
Different client's iPads can have different content. Updating the content or database file is quick and easy. Updating the application is also easy, just remind the clients to delete the app before adding the new version to their iTunes Library.
不同客户的ipad可以有不同的内容。更新内容或数据库文件是快速和容易的。更新应用程序也很容易,只需提醒客户在将新版本添加到iTunes库之前删除该应用程序即可。
Finally a tip; if you're getting an error in iTunes (which BTW don't make sense) about your Entitlements when installing the app - add an application icon.
最后提示;如果你在iTunes(顺便说一句,这是没有意义的)中发现了关于你的权利的错误,当你安装应用程序时——添加一个应用程序图标。
#1
4
Would it be ok to have the App start up in a "neutral" mode?
让应用程序以“中立”模式启动可以吗?
Show icons for the different content types (Language Flags perhaps), and when you touched one, it would download from your server the appropriate data pack.
显示不同内容类型的图标(可能是语言标记),当您触摸其中一个时,它将从您的服务器上下载适当的数据包。
If certain users are only allowed certain content, maybe you could send them an out-of-band URL or password that they enter to get their personal content.
如果某些用户只允许某些内容,也许你可以给他们发送一个带外的URL或密码来获取他们的个人内容。
That way the App distro is always identical, and your server manages the customization packs.
这样,应用程序发行版总是相同的,而您的服务器管理定制包。
#2
1
I've now completed the project and can confirm that this technique is perfectly valid. We are distributing the application and SQLite database file along with the content (image and video) to the clients, which by the way has to enter the Enterprise Program themselves. The clients install the application via iTunes in an ad-hoc-manner, and then copy the database file and content files to the iPad in the iTunes interface.
我现在已经完成了这个项目,可以确认这个技术是完全有效的。我们将应用程序和SQLite数据库文件以及内容(图像和视频)分发给客户端,而客户端必须自己输入企业程序。客户端通过iTunes以广告方式安装应用程序,然后在iTunes界面中将数据库文件和内容文件复制到iPad上。
The distribution itself is very straightforward, since the application package we are sending the clients are signed and provisioned. They won't encounter any issues with installing and updating, all they need is the free iTunes account and our application related files.
分发版本身非常简单,因为我们发送给客户端的应用程序包是经过签名和供应的。他们不会遇到任何安装和更新的问题,他们只需要免费的iTunes帐户和我们的应用程序相关的文件。
Different client's iPads can have different content. Updating the content or database file is quick and easy. Updating the application is also easy, just remind the clients to delete the app before adding the new version to their iTunes Library.
不同客户的ipad可以有不同的内容。更新内容或数据库文件是快速和容易的。更新应用程序也很容易,只需提醒客户在将新版本添加到iTunes库之前删除该应用程序即可。
Finally a tip; if you're getting an error in iTunes (which BTW don't make sense) about your Entitlements when installing the app - add an application icon.
最后提示;如果你在iTunes(顺便说一句,这是没有意义的)中发现了关于你的权利的错误,当你安装应用程序时——添加一个应用程序图标。