Skip to content

Commit

Permalink
fixes: provisioning profile 'Automatic', LICENSE in zip
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianAtNacamar committed Feb 8, 2021
1 parent e4b0374 commit 8dcf664
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 8 deletions.
13 changes: 13 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,16 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

# 3rd party licenses
## ogg
This project makes use of the sources for ogg from [xiph.org](https://xiph.org/downloads/). ogg is licensed under the [New BSD License](https://wiki.xiph.org/XiphWiki:Copyrights).

The New BSD License states that:

Redistribution and use in source and binary forms [of this work], with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the copyright notice, this list of conditions, and the following disclaimer.
Redistributions in binary form must reproduce the copyright notice, this list of conditions, and the following disclaimer in the documentation, and/or other materials provided with the distribution.
Neither the name of the Xiph.Org Foundation nor the names of its contributors may be used to endorse or promote products derived from this work without specific prior written permission.
THIS WORK IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS WORK, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ in the root of the project. It updates YbridOgg.xcframework.
- LICENSE
5. execute ```./pod_push.sh``` and stay ready to input your password several times

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

# 3rd party licenses
## ogg
Expand Down
6 changes: 3 additions & 3 deletions YbridOgg.podspec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#
# Run `pod_check.sh` to ensure this is a valid spec before submitting.
# YbridOgg.xcframework.zip and LICENSE are available on corresponding release on github.
#
# Submit this version to Cocoapod with 'pod_push.sh'.
#
Pod::Spec.new do |s|
s.name = 'YbridOgg'
s.version = '0.7.0'
s.version = '0.7.1'
s.summary = 'Ogg xcframework for iOS and macOS.'
s.description = <<-DESC
XCFramework to use Ogg transport layer API within Swift source.
Expand All @@ -14,7 +14,7 @@ Pod::Spec.new do |s|
s.homepage = 'https://github.com/ybrid/ogg-swift'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Florian Nowotny' => '[email protected]' }
s.source = { :http => 'https://github.com/ybrid/ogg-swift/releases/download/'+s.version.to_s+'/YbridOgg.xcframework.zip' }
s.source = { :http => 'https://github.com/ybrid/ogg-swift/releases/download/'+s.version.to_s+'/YbridOgg.xcframework.zip'}

s.ios.deployment_target = '9.0'
s.osx.deployment_target = '10.10'
Expand Down
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ cmd="$cmd -output $xcFramework"
#echo $cmd
$cmd

echo "generate $xcFramework.zip ..."
echo "zip $xcFramework including LICENSE file..."
cp LICENSE $xcFramework
zip -q -r $xcFramework.zip $xcFramework
echo "done."
8 changes: 6 additions & 2 deletions ogg-swift.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = PF7PNM95XY;
DYLIB_COMPATIBILITY_VERSION = 1;
Expand All @@ -390,10 +391,11 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 0.7.0;
MARKETING_VERSION = 0.7.1;
MODULEMAP_FILE = "ogg-swift/module.modulemap";
PRODUCT_BUNDLE_IDENTIFIER = "io.ybrid.ogg-swift";
PRODUCT_NAME = "$(inherited)";
PROVISIONING_PROFILE_SPECIFIER = "";
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2,6";
};
Expand All @@ -403,6 +405,7 @@
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = PF7PNM95XY;
DYLIB_COMPATIBILITY_VERSION = 1;
Expand All @@ -416,10 +419,11 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 0.7.0;
MARKETING_VERSION = 0.7.1;
MODULEMAP_FILE = "ogg-swift/module.modulemap";
PRODUCT_BUNDLE_IDENTIFIER = "io.ybrid.ogg-swift";
PRODUCT_NAME = "$(inherited)";
PROVISIONING_PROFILE_SPECIFIER = "";
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2,6";
};
Expand Down
8 changes: 7 additions & 1 deletion pod_push.sh
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
pod repo push Private-CocoaPods YbridOgg.podspec --allow-warnings --verbose
# public
# pod trunk register [email protected] 'Florian Nowotny' --description='macbook pro'
# session needs to be confirmed by email
pod trunk push YbridOgg.podspec --allow-warnings --verbose

# private
#pod repo push Private-CocoaPods YbridOgg.podspec --allow-warnings --verbose

0 comments on commit 8dcf664

Please sign in to comment.