Comments (4)
There is indeed a dynamically generated Podfile, but simply replacing that would make it harder to figure out which Pods are requested as frameworks and which are simply dependencies. For the latter, the headers will not be part of the generated framework and by default, symbol mangling will also be applied.
Currently, it is also not supported to choose anything but the latest version of a Pod for the generated framework.
from cocoapods-packager.
@alloy
+1
I am very excited.
We have already do it.
Using cocoapods-packager to build binary.
podspec like this:
if ENV['IS_SOURCE'] || ENV["#{s.name}_SOURCE"]
puts '-------------------------------------------------------------------'
puts "Notice:#{s.name} is source now"
puts '-------------------------------------------------------------------'
s.source_files = 'Pod/Classes/**/*'
else
puts '-------------------------------------------------------------------'
puts "Notice:#{s.name} is binary now"
puts '-------------------------------------------------------------------'
s.source_files = 'Pod/Classes/*.h'
s.public_header_files = 'Pod/Classes/*.h'
s.ios.vendored_libraries = "Pod/lib/lib#{s.name}.a"
end
Install:
IS_SOURCE=1 pod install
or
AFNetwork_SOURCE=1 pod install
or
Install binary if the pod library provide.
pod install
The two questions is:
- It must be in private repo, because there is a json file in github repo and there is a podspec file in private repo.
- If I am going to change pod between source and binary, I have to clean cache first and remove Pods/ dictionary.
The developer wants a solution to change pod between source and binary.
Be careful using macro.
If someone read Chinese, please check this
@neonichu
When we do 'pod install', the project will rebuild all pods. Even if we only change one pod`s version. Carthage can solve this trouble.
If [email protected] can support this feature, it can solve this trouble too. I am very happy to listen it.
Please reply me.
Thanks!
from cocoapods-packager.
I think we can close this since Rome does this?
from cocoapods-packager.
@segiddins π
from cocoapods-packager.
Related Issues (20)
- pod package Generating dynamic framework fail HOT 3
- About the configuration of public Header file HOT 2
- Dependency ModuleMap generation error (.modulemap' not found / underlying Objective-C module not found) HOT 2
- A new plugin support package sdk to a framework
- how only support arm64 HOT 2
- can't open input file: Pods/build-sim/package.a (No such file or directory) HOT 3
- Optimization of copy resource
- ArgumentError - wrong number of arguments (given 3, expected 7..10) HOT 5
- ERRORοΌ gem install cocoapods-packager
- How to resolve `Unable to determine swift version` HOT 3
- Module Map File not found HOT 3
- Error: have the same architectures (i386) and can't be in the same fat output file HOT 3
- not support m1 on mac
- fatal error: module map file 'xx.modulemap' not found HOT 3
- How to get only device architecture without simulator architecture HOT 1
- xcode14 BUILD FAILED HOT 11
- Install cocoapods-packager via Homebrew HOT 1
- δ½Ώη¨ pod package ηζιζ framework ε€±θ΄₯
- lipo: can't open input file HOT 1
- Can not use "error: The armv7 architecture is deprecated. You should update your ARCHS build setting to remove the armv7 architecture. (in target 'GoogleToolboxForMac' from project 'Pods')" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cocoapods-packager.