Skip to content

Commit e4b0374

Browse files
remove generated code, prepare release
1 parent ce33218 commit e4b0374

File tree

54 files changed

+28
-6658
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+28
-6658
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,8 @@ Pods
2424
**/build-*.log
2525
*.log
2626
libogg-*/
27+
include/*.h
28+
src/*.h
29+
src/*.c
2730
*.xcframework
2831
*.zip

README.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,33 +8,40 @@ After integration just ```import YbridOgg``` in your Swift code.
88
It supports iOS devices and simulators (version 9 to 14) and macOS (versions 10.10 to 11.1).
99

1010
# Versions
11-
The supported version of libogg API is 1.3.1.
11+
The supported version of libogg API is 1.3.4.
1212

1313
# How to release a new version
1414
A new version of the xcframework can be created and released in the following way.
1515

1616
## requirements
17-
XCode, CocoaPods and Git are installed on your system.
17+
XCode, CocoaPods and Git are installed on your system. The terminal knowns sed.
1818

1919
The private pods repository is on your cocoa installation. Check this with ```pod repo```, if not execute
2020
```pod repo add Private-Cocoapods [email protected]:ybrid/Private-Cocoapods.git```
2121

2222
Git clone/pull this project onto your system.
2323

24+
Choose a new version number, let's say ```0.7.0```
25+
26+
## Prepare xcode project
27+
The original C and header files to be compiled will be placed into ogg-swift.xcodeproj
28+
1. by executing ```./prepare.sh``` in a terminal in the root of the project.
29+
2. Open the ogg-swift.xcodeproject with XCode. In the properties editor, on target ```ogg-swift``` select ```General``` and change ```Version``` to the new number. Close the project.
30+
2431
## Part 1: generate an XCFramework
2532
1. In a terminal execute ```./build.sh```
2633
in the root of the project. It updates YbridOgg.xcframework.
2734

28-
2935
## Part 2. release a new Version
3036
1. In the root directory execute ```./pod_check.sh```. Repair errors if neccassary.
3137
2. Alter the version number in YbridOgg.podspec's source line
32-
3. Commit everything
33-
4. Create a git tag with the exact name mentioned
34-
5. ```git push --tags``` everything
35-
6. execute ```./pod_push.sh``` and stay ready to input your password several times
38+
3. Commit and push everything
39+
4. On github create a new release with the version number and upload the binary
40+
- YbridOgg.xcframework.zip and
41+
- LICENSE
42+
5. execute ```./pod_push.sh``` and stay ready to input your password several times
3643

37-
The new version should be visible in [Private-Cocoapods](https://github.com/ybrid/Private-Cocoapods).
44+
The new version should be visible in [Private-Cocoapods](https://github.com/ybrid/Private-Cocoapods) after 24 hours.
3845

3946
# 3rd party licenses
4047
## ogg

YbridOgg.podspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#
22
# Run `pod_check.sh` to ensure this is a valid spec before submitting.
3-
# Ensure that the built xcframework, this podspec and corresponding tag are all pushed to origin.
3+
# YbridOgg.xcframework.zip and LICENSE are available on corresponding release on github.
44
# Submit this version to Cocoapod with 'pod_push.sh'.
55
#
66
Pod::Spec.new do |s|
77
s.name = 'YbridOgg'
8-
s.version = '0.6.4'
8+
s.version = '0.7.0'
99
s.summary = 'Ogg xcframework for iOS and macOS.'
1010
s.description = <<-DESC
1111
XCFramework to use Ogg transport layer API within Swift source.
@@ -14,8 +14,8 @@ Pod::Spec.new do |s|
1414
s.homepage = 'https://github.com/ybrid/ogg-swift'
1515
s.license = { :type => 'MIT', :file => 'LICENSE' }
1616
s.author = { 'Florian Nowotny' => '[email protected]' }
17-
s.source = { :git => 'git@github.com:ybrid/ogg-swift.git', :tag => s.version.to_s }
18-
17+
s.source = { :http => 'https://github.com/ybrid/ogg-swift/releases/download/'+s.version.to_s+'/YbridOgg.xcframework.zip' }
18+
1919
s.ios.deployment_target = '9.0'
2020
s.osx.deployment_target = '10.10'
2121
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }

YbridOgg.xcframework/Info.plist

Lines changed: 0 additions & 69 deletions
This file was deleted.

YbridOgg.xcframework/ios-arm64_armv7/YbridOgg.framework/Config.xcconfig

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)