# [GitHub HomePage](https://github.com/DevDragonLi)
#
## .
- , , , ,
-
* : ,
* :, , API
* : .a.framework
* : .dylib.framework
-
- , ; , (import) ?
- , , ; , ,
- : , APP,, WWDC2014, iOS8dylib,
-
- ****: , , :SDK: /GrowingIO...
- MRC, , ARC,
- iOS
- sdk
-
* AppApp
* SDKCoreMotion.frameworkSDKlink
* Linuxlib not found
*
##
1. , : iOS(Framework & Library) -> Cocoa Touch Static Library
2. ,
3. TARGETS() -> Build Phases -> Copy Files -> (Code Sign On Copy)
4. , , ,,
5. , , Products.a,
6. .a, , Show In Finder
7.
* Debug-iphoneos:
* Debug-iphonesimulator:
* Release-iphoneos:
* Release-iphonesimilator:
8. ,GrowingIO
9. include, , /
10. .a:
* 
* 
##
### CPU
- :
- 4s---5: i386
- 5s---6sPlus: x86_64
- :
* 4s: armv7
* 5/5c: armv7s(armv7)
* 5s---6sPlus: arm64
###
- , .a
- : lipo -info .a, ,

###
, , ,
- TARGET -> Build Settings -> Build Active -> NO
- (),
###
- , (CPU),
-
- , lipo -info .a,
- .a
```
lipo -create Debug-iphoneos/libBlowTool.a Debug-iphonesimulator/libBlowTool.a -output libBlowToolNew.a
, armv7 i386 x86_64 arm64
```
##
-
* Xcode, mainBundle,
* , bundle
* bundle,
* ,
*
* , .h + .a + XXX.bundle
- , , ,
- Swift? (,)
* XcodeSwiftSwift is not supported for static libraries
* OCSwift,SwiftOCXcodeSwift
## .a
```
1. file libBlowTool.a
libBlowTool.a: Mach-O universal binary with 2 architectures: [arm_v7: current ar archive random library] [arm64: current ar archive random library]
libBlowTool.a (for architecture armv7): current ar archive random library
libBlowTool.a (for architecture arm64): current ar archive random library
DragonLi:Desktop LFL$ lipo libBlowTool.a -thin armv7 -output v7.a
2. objectarmv7v7.a
lipo libBlowTool.a -thin armv7 -output v7.a
3. .aobject,.o
ar -x v7.a
4. nm libBlowTool.o > libBlowTool.m
```