热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

phonegapUnabletoArchiveXcodeprojects...

2019独角兽企业重金招聘Python工程师标准UnabletoArchiveXcodeprojectswithCordova2.9Theproblemsolvehere:h

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

Unable to Archive Xcode projects with Cordova 2.9

The problem solve here: https://issues.apache.org/jira/browse/CB-4037


or ..


The error:

When trying to "Archive" any project to upload to the App Store, including just the Hello World project in XCode, one receives the linker error below. The app builds fine for running on the simulator or the device however. Reverting my project to 2.8.1 or using the Hello World project from 2.8.1 does not have this error.

Ld /Users/bjterry/Library/Developer/Xcode/DerivedData/sample-gpxssjuplfsqhrfazbpzoydbgzci/Build/Intermediates/ArchiveIntermediates/sample/IntermediateBuildFilesPath/sample.build/Release-iphoneos/sample.build/Objects-normal/armv7/sample normal armv7
cd /Users/bjterry/Projects/sample-2.9
setenv IPHONEOS_DEPLOYMENT_TARGET 5.0
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -L/Users/bjterry/Library/Developer/Xcode/DerivedData/sample-gpxssjuplfsqhrfazbpzoydbgzci/Build/Intermediates/ArchiveIntermediates/sample/BuildProductsPath/Release-iphoneos -F/Users/bjterry/Library/Developer/Xcode/DerivedData/sample-gpxssjuplfsqhrfazbpzoydbgzci/Build/Intermediates/ArchiveIntermediates/sample/BuildProductsPath/Release-iphoneos -filelist /Users/bjterry/Library/Developer/Xcode/DerivedData/sample-gpxssjuplfsqhrfazbpzoydbgzci/Build/Intermediates/ArchiveIntermediates/sample/IntermediateBuildFilesPath/sample.build/Release-iphoneos/sample.build/Objects-normal/armv7/sample.LinkFileList -dead_strip -weak_framework CoreFoundation -weak_framework UIKit -weak_framework AVFoundation -weak_framework CoreMedia -weak-lSystem -force_load /Users/bjterry/Library/Developer/Xcode/DerivedData/sample-gpxssjuplfsqhrfazbpzoydbgzci/Build/Intermediates/ArchiveIntermediates/sample/InstallationBuildProductsLocation/Applications/libCordova.a -ObjC -fobjc-link-runtime -miphoneos-version-min=5.0 -framework CoreLocation -framework ImageIO -framework OpenAL -framework AssetsLibrary /Users/bjterry/Library/Developer/Xcode/DerivedData/sample-gpxssjuplfsqhrfazbpzoydbgzci/Build/Intermediates/ArchiveIntermediates/sample/BuildProductsPath/Release-iphoneos/libCordova.a -framework Foundation -weak_framework UIKit -framework CoreGraphics -framework AddressBook -framework AddressBookUI -framework AudioToolbox -weak_framework AVFoundation -framework CFNetwork -framework MediaPlayer -framework QuartzCore -framework SystemConfiguration -framework MobileCoreServices -weak_framework CoreMedia -framework CoreLocation -o /Users/bjterry/Library/Developer/Xcode/DerivedData/sample-gpxssjuplfsqhrfazbpzoydbgzci/Build/Intermediates/ArchiveIntermediates/sample/IntermediateBuildFilesPath/sample.build/Release-iphoneos/sample.build/Objects-normal/armv7/sample

ld: file not found: /Users/bjterry/Library/Developer/Xcode/DerivedData/sample-gpxssjuplfsqhrfazbpzoydbgzci/Build/Intermediates/ArchiveIntermediates/sample/InstallationBuildProductsLocation/Applications/libCordova.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Solution:
1. In your Target's Build Settings, find "Other Linker Flags"
3. Change "$(TARGET_BUILD_DIR)/libCordova.a"
3. To "$(BUILT_PRODUCTS_DIR)/libCordova.a"

Thanks to  Shazron Abdullah
-- 
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
 
To compile in the cloud, check out build.phonegap.com
--- 
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit  https://groups.google.com/groups/opt_out.

转:https://my.oschina.net/linbaoji/blog/141770



推荐阅读
  • 在Win10上利用VS2015构建Caffe2环境
    本文详细介绍如何在Windows 10操作系统上通过Visual Studio 2015编译Caffe2深度学习框架的过程。包括必要的软件安装、环境配置以及常见问题的解决方法。 ... [详细]
  • 本文探讨了在渗透测试中信息收集阶段使用的几种端口扫描技术,包括nmap、masscan、socket、telnet及nc等工具的应用与比较。 ... [详细]
  • 社交网络中的级联行为 ... [详细]
  • 本文介绍如何从字符串中移除大写、小写、特殊、数字和非数字字符,并提供了多种编程语言的实现示例。 ... [详细]
  • Linux环境下C语言实现定时向文件写入当前时间
    本文介绍如何在Linux系统中使用C语言编程,实现在每秒钟向指定文件中写入当前时间戳。通过此示例,读者可以了解基本的文件操作、时间处理以及循环控制。 ... [详细]
  • 本文探讨了为何相同的HTTP请求在两台不同操作系统(Windows与Ubuntu)的机器上会分别返回200 OK和429 Too Many Requests的状态码。我们将分析代码、环境差异及可能的影响因素。 ... [详细]
  • CSS高级技巧:动态高亮当前页面导航
    本文介绍了如何使用CSS实现网站导航栏中当前页面的高亮显示,提升用户体验。通过为每个页面的body元素添加特定ID,并结合导航项的类名,可以轻松实现这一功能。 ... [详细]
  • 本文详细介绍了Linux系统中的进程管理函数,涵盖了获取进程ID、用户ID、创建子进程、信号处理等关键操作。通过这些函数,开发者可以更好地控制和管理进程行为。 ... [详细]
  • KMP算法是处理字符串匹配的一种高效算法它首先用O(m)的时间对模板进行预处理,然后用O(n)的时间完成匹配。从渐进的意义上说,这样时间复 ... [详细]
  • 请看|间隔时间_Postgresql 主从复制 ... [详细]
  • 目录一、salt-job管理#job存放数据目录#缓存时间设置#Others二、returns模块配置job数据入库#配置returns返回值信息#mysql安全设置#创建模块相关 ... [详细]
  • Coursera ML 机器学习
    2019独角兽企业重金招聘Python工程师标准线性回归算法计算过程CostFunction梯度下降算法多变量回归![选择特征](https:static.oschina.n ... [详细]
  • Java 实现二维极点算法
    本文介绍了一种使用 Java 编程语言实现的二维极点算法。该算法用于从一组二维坐标中筛选出极点,适用于需要处理几何图形和空间数据的应用场景。文章不仅详细解释了算法的工作原理,还提供了完整的代码示例。 ... [详细]
  • 本文介绍了SVD(奇异值分解)和QR分解的基本原理及其在Python中的实现方法。通过具体代码示例,展示了如何使用这两种矩阵分解技术处理图像数据和计算特征值。 ... [详细]
  • 本文详细介绍如何在 macOS 上编译 FFmpeg 3.1.1,并将其集成到 iOS 项目中,包括必要的环境配置和代码示例。 ... [详细]
author-avatar
杯莫停
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有