cocoapods

Can't upload IOS app to iTunes with Xcode 7 and GoogleMaps with Podfile

空扰寡人 提交于 2019-12-04 08:45:49
问题 I have an app that I've rebuilt using Xcode 7. This app has been using the GoogleMaps IOS SDK. At the same time (big mistake), that I was updating the code to Xcode 7 (for IOS 9 support), I decided to upgrade to the latest version of the GoogleMaps API. This version requires that the project use Podfiles. I have multiple targets and getting Podfiles to work was a pain, but I got it to work. The app compiles and runs fine in the simulator. The problem comes when I archive the project and try

How to mix Swift and Objective-C in a pod lib?

*爱你&永不变心* 提交于 2019-12-04 08:19:19
问题 I have created a new swift lib pod using the command : pod lib create MixSwiftObjectiveC found from https://guides.cocoapods.org/making/using-pod-lib-create.html In this pod lib I need to use a code that's written in Objective-C. If I would have a separate "normal" project I would just include the import in the header file …-Bridging-Header.h. Is there an equivalent for a pod lib? Can Swift and Objective-C be mixed inside a pod lib? As an example I've created this github: https://github.com

PODS_ROOT and other pods env variables not set when compiling Ionic app

六眼飞鱼酱① 提交于 2019-12-04 07:59:54
I have built an Ionic 2 app which uses Intercom (a third-party extension). Intercom is installed using cocoapods. When compiling my app I am given the errors: diff: /Podfile.lock: No such file or directory diff: /Manifest.lock: No such file or directory error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. This is being generated by the Build Phase [CP] Check Pods Manifest.lock : diff "${PODS_PODFILE_DIR_PATH}/Podfile.lock" "${PODS_ROOT}/Manifest.lock" > /dev/null if [ $? != 0 ] ; then # print error to STDERR echo "error: The sandbox

Cocoapods specify podspec xcconfig value for Debug only

萝らか妹 提交于 2019-12-04 07:49:46
I am using cocoapods and want to specify a value in the pod's podspec using the xcconfig parameter that would be specific to Debug mode. currently, using : s.xcconfig = { "GCC_PREPROCESSOR_DEFINITIONS" => "MY_DEFINE=1" } will set the value for both Debug and Release modes. Also tried using : s.xcconfig = { "GCC_PREPROCESSOR_DEFINITIONS[config=Debug]" => "MY_DEFINE=1" } but, altho this sets it in the pod's preprocessor macros, it doesn't seem to register during execution of the code, unlike when not using the [config=Debug] tag. Is there a way to limit it to Debug mode only? brunobowden You

'pod install' doesn't update an existing pod

情到浓时终转凉″ 提交于 2019-12-04 07:49:00
问题 I am trying to update my pod using pod install and finding that it doesn't update properly unless I delete the original pod . Is there some extra step required or is there a common mistake that makes updates fail? 回答1: I'm not sure from which version, but if you update your cocoapods installation to the latest version, you'll find two new commands to help with this. pod outdated This will list all pods that have updates available. pod update This will update the pods listed in the previous

possible to have a CocoaPods have a search path that includes the main app

两盒软妹~` 提交于 2019-12-04 07:27:23
This is my first time writing my own Cocoapod so this might be a really simple quedstion but .... I am trying to use Cocoapods to distribute common code for a series of apps used within our company (the CocoaPod is called CommonHex with a prefix of HEX so HEXItem.h/m). However, we have a config file specific to each app called HOSTConfig.h/m. Is there any way to access this HOSTConfig.h/m from within our CommonHex pod? It would seem like I should bOe able to have for example a config file which will have it's own values but would pull in for HOSTConfig.h/m if it exists? And would probably have

CocoaPods “No Such Module” Error: [closed]

会有一股神秘感。 提交于 2019-12-04 07:14:45
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . I am getting a "No Such Module" error in Xcode using CocoaPods. I tried everything else I could find on StackOverflow. How do I fix this problem? 回答1: Try to open .xcworkspace instead .xcproject 回答2: I added the following to my Framework Search Paths: NOTE: the RECURSIVE option is ENABLED! Fair warning: this may

Xcode 9 crash during uploading app to App Store

本小妞迷上赌 提交于 2019-12-04 07:05:19
In my project the Xcode 9 crashes during uploading to App Store (or exporting to disk, it does not matter). I have found that it may be caused by cocoapods or some kind of external frameworks bug, because on my other projects which do not use cocoapods this bug does not happen. However why I created post about it here on stackoverflow is the question if anybody has a temporary solution to solve this issue ? Unfortunately it is not known when it will be fixed by Apple or cocapods...so...every help would be welcomed. I have already reported this bug to Apple with the (shortened) log below.

Pod Spec Lint CoreSimulator detected Xcode.app relocation or CoreSimulatorService version change

我们两清 提交于 2019-12-04 06:14:36
The command pod spec lint fails. I couldn't find a similar question here on SO and on Cocoapod's repo. Full log: -> GPKit (0.1.1) - ERROR | [iOS] unknown: Encountered an unknown error (757: unexpected token at '2017-08-17 16:12:08.932 simctl[55281:678990] CoreSimulator detected Xcode.app relocation or CoreSimulatorService version change. Framework path (/Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework) and version (375.21) does not match existing job path (/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple

Xcode 7.2 successful archives will not show in organizer, but will show in archives folder about derived data folder

半腔热情 提交于 2019-12-04 05:11:13
I am using Cocoapods 0.39.0 and Xcode 7.2 , I have a project that archives successfully but does not populate in organizer . When I tested my podfile in a blank project the archive showed up in the Organizer just fine. While trying to troubleshoot this I found that there was an Archives folder above Derived Data. There I actually found all the .xcarchive files of the project that won't show up in the Organizer. When clicking on the file details, I also noticed that the working Archive had a size (228.3 MB for the test project) but my main project I want working has a size of 0 bytes. Figured