当前位置: 首页 > news >正文

佛山网站建设网站制作公司大数据技术主要学什么

佛山网站建设网站制作公司,大数据技术主要学什么,discuz网站建设,网站建设电话咨询1、QC里编译工程,生成Release版的的app文件; 2、运行macdeployqt把需要的文件打包进app文件中; % ~/Qt/5.15.0/clang_64/bin/macdeployqt {编译的app文件所在路径}/Release/xxxx.app 3、使用codesign对app进行签名,如果要发App…

1、QC里编译工程,生成Release版的的app文件;

2、运行macdeployqt把需要的文件打包进app文件中;

% ~/Qt/5.15.0/clang_64/bin/macdeployqt {编译的app文件所在路径}/Release/xxxx.app

3、使用codesign对app进行签名,如果要发App Store的话使用"Mac App Distribution"证书,如果不发的话使用”Developer ID Installer“证书,证书配置在苹果开发者账号苹果证书中创建。

下载证书并安装,结果如下:

3、然后使用codesign对app签名:

% codesign --entitlements {entitlements文件所在目录}/xxxx.entitlements -f -s "3rd Party Mac Developer Application: xxxxxx Co.,Ltd (VQ3IY989UY87)" -v xxxx.app --deep
#运行完结果如下:
xxxx.app: replacing existing signature
xxxx.app: signed app bundle with Mach-O thin (x86_64) [com.xxxx.xxxx] #此处是Bundle Identifier#签名完成

权限文件xxxx.entitlements,可以在xcode的工程里去复制一个,也可以根据需要的权限手工编辑:

检查签名结果:

% codesign -dvvv --entitlements  - xxxx.app
Executable=/这里忽略目录/xxxx.app/Contents/MacOS/xxxx
Identifier=com.xxxx.xxxx
Format=app bundle with Mach-O thin (x86_64)
CodeDirectory v=20400 size=18452 flags=0x0(none) hashes=566+7 location=embedded
Hash type=sha256 size=32
CandidateCDHash sha256=3ed48febdcc36c83hfyuuyt876236f4633bb7b
CandidateCDHashFull sha256=3ed48febdcc36c83a748febdcc36c83hfyuuyt876236f463317fb2f401a8f7a7afaf
Hash choices=sha256
CMSDigest=3ed48febdcc36dcc36c83hfyuuyt876236f46337fb2f401a8f7a7afaf
CMSDigestType=2
CDHash=3ed48febdcc3648dcc36c83hfyuuyt87623332f17236f4633bb7b
Signature size=4854
Authority=3rd Party Mac Developer Application: xxxxxxxxx Co.,Ltd (VQ3IY989UY87)
Authority=Apple Worldwide Developer Relations Certification Authority
Authority=Apple Root CA
Signed Time=Nov 2, 2024 at 01:06:18
Info.plist entries=14
TeamIdentifier=V86876Q87987F
Sealed Resources version=2 rules=13 files=46
Internal requirements count=1 size=232
[Dict][Key] com.apple.developer.usernotifications.communication[Value][Bool] true[Key] com.apple.security.app-sandbox[Value][Bool] true[Key] com.apple.security.files.user-selected.read-only[Value][Bool] true[Key] com.apple.security.files.user-selected.read-write[Value][Bool] true[Key] com.apple.security.network.client[Value][Bool] true[Key] com.apple.security.network.server[Value][Bool] true[Key] com.apple.security.personal-information.photos-library[Value][Bool] true[Key] com.apple.security.print[Value][Bool] true#下部分是权限列表

4、然后打开xxxx.app,找到里面的Info.plist文件编辑内容:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict><key>CFBundleExecutable</key> <!--这个必须要有--><string>xxxx</string><key>CFBundleIconFile</key><string>icon.icns</string><key>CFBundleIdentifier</key> <!--这个必须要有--><string>com.xxxx.xxxx</string><key>CFBundlePackageType</key> <!--这个必须要有--><string>APPL</string><key>CFBundleSignature</key><string>????</string><key>LSMinimumSystemVersion</key><string>10.13</string><key>NOTE</key><string>This file was generated by Qt/QMake.</string><key>NSPrincipalClass</key> <!--这个必须要有--><string>NSApplication</string><key>NSSupportsAutomaticGraphicsSwitching</key><true/><key>CFBundleDisplayName</key> <!--这个尽量要有--><string>我的应用</string><key>CFBundleName</key><string>我的应用</string> <!--这个必须要有--><key>LSApplicationCategoryType</key> <!--这个必须要有--><string>public.app-category.utilities</string><key>CFBundleVersion</key> <!--这个必须要有--><string>100</string><key>CFBundleShortVersionString</key><string>1.0.0</string> <!--这个必须要有--><key>ITSAppUsesNonExemptEncryption</key><false/>
</dict>
</plist>

5、然后,使用productbuild对app进行打包成pkg文件,这里注意使用另外一个安装证书”3rd Party Mac Developer Installer“:

% productbuild --component xxxx.app /Applications/ --sign "3rd Party Mac Developer Installer: xxxxxxxx Co.,Ltd (VQ3IY989UY87)" --product xxxx.app/Contents/Info.plist xxxx.pkgproductbuild: Adding component at /这里省略路径了/Release/智行动力.app
productbuild: Signing product with identity "3rd Party Mac Developer Installer: xxxxxxxx Co.,Ltd (VQ3IY989UY87)" from keychain /Users/hhhhh/Library/Keychains/login.keychain-db
productbuild: Adding certificate "Apple Worldwide Developer Relations Certification Authority"
productbuild: Adding certificate "Apple Root CA"
productbuild: Wrote product to xxxx.pkg
productbuild: Supported OS versions: [Min: 10.13, Before: None]#上面执行完成

6、最后,将生成pkg文件拖拽到Transporter中,看看Transporter上传检查是否出错,如果不出错就可以发布了。

注意:签名证书和产品打包证书是两个;

其余的就,自求多福吧!

http://www.tj-hxxt.cn/news/23552.html

相关文章:

  • 公司建立网站的作用有常见的推广平台有哪些
  • 网站规划与建设课设报告产品推广软文300字
  • 郑州做网站的专业公司有哪些淄博网站推广
  • 漫画门户网站怎么做的可以发广告的100个网站
  • 龙华三网合一网站建设网站seo优化报告
  • 做网站学多长时间可以学会品牌运营管理有限公司
  • 英文seo是什么意思广州seo运营
  • 有了域名怎样做网站关键词指数查询工具
  • 邢台住房和城乡建设部网站淘宝宝贝关键词排名查询工具
  • 网站制作三站优化营商环境 提升服务效能
  • 电子计算机哪个专业最吃香手机系统优化工具
  • 石英石台面做网单有什么网站广告优化师适合女生吗
  • 电脑硬盘做网站服务器教程怎么网站排名seo
  • 临淄信息网招聘小红书seo优化
  • 制作宣传片拍摄公司长春seo网站优化
  • python做网站例子网络优化工程师需要学什么
  • 泉州网站建设需要平台seo沈阳
  • 电脑做系统ppt下载网站seo公司是做什么的
  • 网站建设项目建议书淘宝运营主要做些什么
  • 精品网站制作公司百度搜索高级搜索技巧
  • 武汉网站建设电话东莞网络营销信息推荐
  • 昆明网站建设 技术支持优化王
  • 桂林网站建设费用全网品牌推广公司
  • 可在哪些网站做链接重庆seo建站
  • wordpress 是否登录网站排名优化系统
  • 深圳网站论坛建设百度网络营销中心客服电话
  • 临沂网站优化哪家好揭阳seo快速排名
  • 济南最好的网站建设公司市场营销推广策划
  • 自己做营销网站运营培训班有用吗
  • 绿色手机网站模板最有效的恶意点击软件