问题标签 [ipa]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
3372 浏览

ios - 发布一个没有苹果证书的内置flash builder 4.5的ios移动应用程序

我有一个越狱的 iphone 4,我想创建一个版本,一个来自我在 flash builder 4.5.1 中编写的 flex 项目的 ipa 文件,用于测试目的(在我的设备上)。不买苹果的开发者证书可以吗?谢谢!担

0 投票
1 回答
658 浏览

iphone - 是否可以在 IPA 中定义外部配置文件?

是否可以在 IPA 中定义的外部配置文件可以在 ipa 文件加载到设备之前进行更改?

默认情况下,配置文件中定义的 url 为http://www.google.com

有了配置文件,如果需要,我们将能够修改并连接到http://www.yahoo.com

这可能吗 ?请帮帮我

提前致谢.........

0 投票
3 回答
11961 浏览

iphone - 如何在 iPad/iPhone 中编辑(添加或删除).ipa 文件的内容

有什么方法可以编辑(添加或删除)ipa 文件的内容。

我的应用程序包含一些资源文件夹,这些资源文件夹因客户端而异,即使功能保持不变。我们的想法是创建一个 .ipa 文件并将其放入服务器中,编写一些代码将其解压缩并编辑文件的内容。但是,这对我们有用。那么,无论如何我可以正式地做到这一点(没有越狱)

0 投票
13 回答
123209 浏览

iphone - 重新签署 IPA (iPhone)

我目前使用 xcodebuild 和 xcrun 使用 hudson 构建我的所有应用程序,没有任何问题

我从不同的人那里收到了几个 IPA 文件,我想用企业帐户而不是公司帐户重新签名(用于应用商店,或者有时是临时分发的)。

我的问题是,当我尝试退出应用程序时,它不会安装在我的设备上(它应该是因为它是企业版本)。错误消息在设备上(不在 iTunes 中),它只是告诉我它无法安装该应用程序。没有提供更多信息。

我找到了一些信息,(http://www.ketzler.de/2011/01/resign-an-iphone-app-insert-new-bundle-id-and-send-to-xcode-organizer-for-上传/ )

这也许是可能的。我面临的问题是它似乎没有嵌入移动配置文件,就像我在正常构建中所做的那样(使用 xcrun),这可以通过 codesign 工具进行控制,还是可以使用 xcrun 重新签名?

使用我的辞职脚本,我目前正在做

  • 解压app.ipa
  • appname=$(ls Payload)
  • xcrun -sdk iphoneos PackageApplication -s "$provisioning_profile" "$project_dir/Payload/$appname" -o "$project_dir/app-resigned.ipa" --sign "$provisioning_profile" --embed "$mobileprovision"

我查看了生成的 ipa 文件,它似乎与原始应用程序非常相似。这里应该真正改变哪些文件?我最初认为 _CodeSignature/CodeResources 会改变,但内容看起来几乎完全相同。

非常感谢指针。

0 投票
2 回答
1035 浏览

android - 如何在 Android 上播放国际音标发音?

我有一个单词的 IPA 发音,我想用声音回放给用户。

这可以使用内置的 TTS 引擎来完成吗?如果没有,是否有支持它的 TTS 引擎?

0 投票
0 回答
3902 浏览

iphone - iphone: how to build an IPA file from self-made app?

I programmed a small app for iOS, and I used Mac OS X 10.6.6, Xcode 3.2.5 and iOS SDK 4.2, all running in a Virtual Box machine 4.0.

now I want the app to run on my iphone and to distribute it to some beta testers. because I'm not a registered apple developer and I don't want to pay $99 to apple, I need to find some other way.

the first thing I found on the net is the tutorial of alex whittemore: alexwhittemore.com

I followed the instructions by creating a self sign root certificate,binary patching the Xcode program and adding some scripts to the build process. afterwards, I switched to from "debug" to "release" mode and from "simulator" to "device". the build-process ends with a warning-message:

Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate. (-19011)

but I still have a appname.app folder in the Release-iphoneos-folder, which I can transfer via ssh or scp in the /Applications/-folder of my jailbroken iphone. afterwards I call "uicache" on the iphone and the app is shown in springboard. I can also start the app and everything works fine.

now is the problem, that I want an IPA file of my app. as I read on the net, an IPA file is nothing more than the appname.app folder in a folder called "Payload", zipped together with two files called iTunesArtwork and iTunesMetadata.plist. I created the iTunesArtworks file out of an 512x512 jpeg image and the plist file from some preset I found on the net. afterwards, the appname.zip file has to be renamed to appname.ipa. I did this process manually and transfered the IPA file via scp to the download-folder of my installous-app on my iphone. then I started installous and tried to install my app - there comes the error message:

installation failed: invalid ipa

I did a search on the net for this error message and found something about updating my Appsync and Installous-installation. I updated both programs from the hackulo.us-repository, but this didn't help.

so I thought, that I did something wrong during the IPA-creation-process. I did some research and found out, that it is possible to drag and drop the appname.app-folder to itunes, which automatically makes an IPA file of it. then you can find the IPA file in some folder of iTunes. I copied this file to the download folder of installous on my iphone and tried to install this file again, but the same error message is shown.

my question: how can I make a valid IPA file for installous, if I have a self-signed app? does installous check the signature?

maybe someone has a hint for me...

EDIT:

I found a solution for my problem.

because I wanted more information on the installous-error-message, I installed "syslog toggle" and "syslogd to /var/log/syslog" via cydia on my iphone to log detailed information to /var/log/syslog. then I tried to install the IPA file again and I got a message in the syslog from the installd daemon, that the IPA file has a minimum-iOS-version requirement of 4.2, while my iphone is running under iOS 4.0.

*installd[163]: 00503000 verify_bundle_metadata: The system version is lower than the minimum OS version*

interessingly there was no problem to install the app as system application by copying the appname.app-folder via ssh to /Applications/, but with the wrong minimum-iOS-version-parameter build in. so I rebuild my app with the right minimum-iOS-version for my iphone.

I tried to install again, but again I got an error message about an invalid IPA. this time the installd daemon tells me in the syslog of my iphone, that it couldn't install an system application:

*installd[193]: 00503000 preflight_application_install: Can't install System or Internal apps*

this problem was easy to solve, because I still had the app installed as system application in /Applications/. I just needed to delete the /Applications/appname.app folder and call "uicache" twice with the user "mobile" via ssh. then I startet installous again and tried to install my IPA file - et voila: IT WORKED!!

maybe I was able to help someone with a similar problem. it seems to be a good idea to install the syslog-apps via cydia to have a closer look for the error messages of installous, if some generic error message like "invalid ipa" appears.

ps: I was really irritated, that my question was closed by the moderator! just because someone thinks, that my question is "not generally applicable to the worldwide audience of the internet." it's soooo stupid to close questions! now you see: I got a solution and I posted it here.. maybe it will help someone in the future! you shouldn't make the same fault as wikipedia by over-controlling the user content.

0 投票
1 回答
690 浏览

xcode - SQLCipher、Xcode 4 和创建 IPA

我在构建包含 SQLCipher 和 OpenSSL 的存档项目时遇到问题。

该项目在模拟器和我的 iphone 上构建良好,但是在构建 Ad-Hoc 分发时(使用正确的 Ad-Hoc 方案)它构建但导致错误:

ld“/Users/macuser/Library/Developer/Xcode/DerivedData/BlahHealthcare-frojqoeewvysjpcgcdtltizzbdri/ArchiveIntermediates/BlahHealthcare/IntermediateBuildFilesPath/BlahHealthcare.build/Ad Hoc-iphoneos/BlahHealthcare.build/Objects-normal/armv6/BlahHealthcare”正常armv6 cd“ /Users/macuser/Projects/BlahHealthcare" setenv IPHONEOS_DEPLOYMENT_TARGET 4.3 setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin: /sbin" /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk "-L/Users/ macuser/库/开发人员/Xcode/DerivedData/BlahHealthcare-frojqoeewvysjpcgcdtltizzbdri/ArchiveIntermediates/BlahHealthcare/BuildProductsPath/Ad Hoc-iphoneos" "-L/Users/macuser/Projects/BlahHealthcare""-F/Users/macuser/Library/Developer/Xcode/DerivedData/BlahHealthcare-frojqoeewvysjpcgcdtltizzbdri/ArchiveIntermediates/BlahHealthcare/BuildProductsPath/Ad Hoc-iphoneos"-filelist"/Users/macuser/库/开发人员/Xcode/DerivedData/BlahHealthcare-frojqoeewvysjpcgcdtltizzbdri/ArchiveIntermediates/BlahHealthcare/IntermediateBuildFilesPath/BlahHealthcare.build/Ad Hoc-iphoneos/BlahHealthcare.build/Objects-normal/armv6/BlahHealthcare.LinkFileList" -dead_strip -lxml2 -miphoneos-version- min=4.3 -lcrypto -lsqlcipher -framework Foundation -framework UIKit -framework CoreGraphics -licucore.A -framework CFNetwork -framework SystemConfiguration -framework MobileCoreServices -lz.1.2.3 -framework Security -o "/Users/macuser/Library/Developer/Xcode/DerivedData/BlahHealthcare-frojqoeewvysjpcgcdtltizzbdri/ArchiveIntermediates/BlahHealthcare/IntermediateBuildFilesPath/BlahHealthcare.build/Ad Hoc-iphoneos/BlahHealthcare.build/Objects-normal/armv6/BlahHealthcare”

ld:找不到-lcrypto collect2的库:ld返回1退出状态命令/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2失败,退出代码为1

一切似乎都配置正确,所以我不知道从这里去哪里。我在其他帖子上尝试了各种答案,但似乎都没有奏效。

有谁知道我哪里出错了?

0 投票
1 回答
360 浏览

android - 发布没有 UDID 的 iOS 应用程序 ipa(仅限越狱的 iPhone)(尚未在应用商店中的应用程序)是个好主意吗?

换句话说:有人可以使用该 ipa 文件将其上传到应用商店吗?那么android apk文件呢?

0 投票
4 回答
9865 浏览

macos - 在命令行中编辑 ipa plist 文件

我想使用命令行更改 plist 文件中的 'bundle-identifier' 字符串值。使用“默认值”,我该怎么做?

仅供参考,这里是完整的 plist:

0 投票
1 回答
1696 浏览

iphone - 如何使用带有更新的临时配置文件的 xcode4 重新归档 app.ipa 文件?

让我们假设:

  • XCode4 用于“归档”项目并生成已使用 Ad-Hoc 配置文件签名的 app.ipa 文件
  • Ad-Hoc 配置文件可识别 10 种不同的 iOS 设备。这意味着 app.ipa 可以推送给 10 个人进行测试
  • 现在,如果通过苹果门户将第十一 (11) 个设备添加到 Ad-Hoc 配置文件,那么我们最终会得到一个更新的配置文件!

鉴于:

  • 我们不想使用 XCode 创建一个新的“存档”,因为很多代码已经改变
  • 我们只是想要获取完全相同的 app.ipa 文件并使用更新配置文件重新签名它,以便我们可以开始以临时方式将应用程序发送到第 11 台设备。

可以做些什么来做到这一点?

  • 请不要建议使用存储库来签出早期版本的代码,然后将存档与更新的配置文件一起使用。我已经知道这种解决方法,我想要一个技术上更舒适的选择

更新:

感谢这个博客: http ://blog.futureshock-ed.com/xcode-ad-hock-provisioning-certificate-pains

我发现我可以简单地在我的 XCode 4 中打开 Organizer,选择任何一个以前存档的构建,当我再次生成 app.ipa 时,它将使用新导入和更新的 adhoc 配置文件来创建 ipa文件。

在执行您询问的此操作之前如何导入更新的配置文件?好吧,只需双击新下载的配置文件,并确保在弹出的窗口中删除其较旧的兄弟姐妹,以显示它们现在都坐在您的 Mac 上。您可以通过目视检查“创建日期”的值来确定哪个较旧

这应该是显而易见的,但不知何故不是,我想知道有多少其他人遭受同样的痛苦。