Ad
Import Constatnts Header From Main Project To Cocoa Pod File
I have a .xcworkspace
. I have an AppConstants.h
in my main project and I need to import it in a file within some library which is connected in CocoaPods project. How can I import it?
Ad
Answer
I would not recommend you to do so,think about if you run PodInstall the next time, Your code would be overwritten.
What i would do, is just import the files as files, and not Cocoapods and then change them.
or you could build a Cocoapod your self and still use dependencies:
Ad
source: stackoverflow.com
Related Questions
- → Shopify iOS SDK - issue converting BuyProductVariant to BuyProduct
- → BigCommerce and shopify API
- → How to print the cart items,remove cart items in shopify ios sdk?
- → How to keep the user logged in or check if the user is logged in or not in Shopify?
- → How to covert a custom class into json array or json dictionary in objective c?
- → React Native Debug iOS Component in XCode
- → Error tokenizing data. C error: EOF following escape character
- → data type understanding of Parse database
- → How to save the response From My server , and How can i access That data
- → Bulk creation of components in React Native
- → How to mute AVAudioPlayer if music from another app is playing in spritekit
- → Swift Array memory address changes when referring to the same variable
- → String encryption in Objective-C decrypt in C#
Ad