Skip to content

Commit c897b52

Browse files
sign with nacamar GmbH, added test.sh
1 parent 9172742 commit c897b52

File tree

4 files changed

+75
-19
lines changed

4 files changed

+75
-19
lines changed

YbridOgg.podspec

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,27 @@
44
# Submit this version to Cocoapod with 'pod_push.sh'.
55
#
66
Pod::Spec.new do |s|
7-
s.name = 'YbridOgg'
8-
s.version = '0.7.2'
9-
s.summary = 'Ogg xcframework for iOS and macOS.'
10-
s.description = <<-DESC
7+
s.name = 'YbridOgg'
8+
s.version = '0.7.2'
9+
s.summary = 'Ogg xcframework for iOS and macOS.'
10+
s.description = <<-DESC
1111
XCFramework to use Ogg transport layer API within Swift source.
1212
It runs on iOS devices, iOS simulators and macOS.
1313
DESC
14-
s.homepage = 'https://github.com/ybrid/ogg-swift'
15-
s.license = { :type => 'MIT', :file => 'LICENSE' }
16-
s.author = { 'Florian Nowotny' => '[email protected]' }
17-
s.source = { :http => 'https://github.com/ybrid/ogg-swift/releases/download/'+s.version.to_s+'/YbridOgg.xcframework.zip'}
14+
s.homepage = 'https://github.com/ybrid/ogg-swift'
15+
s.license = { :type => 'MIT', :text => <<-LICENSE
16+
Copyright (c) 2021 nacamar GmbH - Ybrid®, a Hybrid Dynamic Live Audio Technology
17+
LICENSE
18+
}
19+
s.author = { 'Florian Nowotny' => '[email protected]' }
20+
s.source = { :http => 'https://github.com/ybrid/ogg-swift/releases/download/'+s.version.to_s+'/YbridOgg.xcframework.zip'}
1821

1922
s.ios.deployment_target = '9.0'
2023
s.osx.deployment_target = '10.10'
2124
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
2225
s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
2326

24-
s.framework = 'YbridOgg'
27+
s.framework = 'YbridOgg'
2528
s.vendored_frameworks = 'YbridOgg.xcframework'
26-
2729
end
2830

ogg-swift.xcodeproj/project.pbxproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/* Begin PBXBuildFile section */
1010
17E5BBAE25C819910061F232 /* ogg_swift.h in Headers */ = {isa = PBXBuildFile; fileRef = 17E5BBAC25C819910061F232 /* ogg_swift.h */; settings = {ATTRIBUTES = (Public, ); }; };
1111
17E5BC7425C84AA40061F232 /* Config.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 17E5BC7325C84AA40061F232 /* Config.xcconfig */; };
12-
17EE842A25CC493A002F15B3 /* ogg_swiftUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 17EE842925CC493A002F15B3 /* ogg_swiftUITests.swift */; };
12+
17EE842A25CC493A002F15B3 /* oggPlatformTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 17EE842925CC493A002F15B3 /* oggPlatformTests.swift */; };
1313
17EE843425CC4A63002F15B3 /* YbridOgg.framework in Resources */ = {isa = PBXBuildFile; fileRef = 17E5BB6A25C817C20061F232 /* YbridOgg.framework */; };
1414
17EE867725CD990C002F15B3 /* ogg.h in Headers */ = {isa = PBXBuildFile; fileRef = 17EE867525CD990C002F15B3 /* ogg.h */; settings = {ATTRIBUTES = (Public, ); }; };
1515
17EE867825CD990C002F15B3 /* os_types.h in Headers */ = {isa = PBXBuildFile; fileRef = 17EE867625CD990C002F15B3 /* os_types.h */; settings = {ATTRIBUTES = (Public, ); }; };
@@ -25,7 +25,7 @@
2525
17E5BBCD25C821EA0061F232 /* module.modulemap */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = "sourcecode.module-map"; path = module.modulemap; sourceTree = "<group>"; };
2626
17E5BC7325C84AA40061F232 /* Config.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Config.xcconfig; sourceTree = "<group>"; };
2727
17EE842725CC493A002F15B3 /* ogg-swiftUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "ogg-swiftUITests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
28-
17EE842925CC493A002F15B3 /* ogg_swiftUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ogg_swiftUITests.swift; sourceTree = "<group>"; };
28+
17EE842925CC493A002F15B3 /* oggPlatformTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = oggPlatformTests.swift; sourceTree = "<group>"; };
2929
17EE842B25CC493A002F15B3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
3030
17EE867525CD990C002F15B3 /* ogg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ogg.h; sourceTree = "<group>"; };
3131
17EE867625CD990C002F15B3 /* os_types.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = os_types.h; sourceTree = "<group>"; };
@@ -87,7 +87,7 @@
8787
17EE842825CC493A002F15B3 /* ogg-swiftUITests */ = {
8888
isa = PBXGroup;
8989
children = (
90-
17EE842925CC493A002F15B3 /* ogg_swiftUITests.swift */,
90+
17EE842925CC493A002F15B3 /* oggPlatformTests.swift */,
9191
17EE842B25CC493A002F15B3 /* Info.plist */,
9292
);
9393
path = "ogg-swiftUITests";
@@ -241,7 +241,7 @@
241241
isa = PBXSourcesBuildPhase;
242242
buildActionMask = 2147483647;
243243
files = (
244-
17EE842A25CC493A002F15B3 /* ogg_swiftUITests.swift in Sources */,
244+
17EE842A25CC493A002F15B3 /* oggPlatformTests.swift in Sources */,
245245
);
246246
runOnlyForDeploymentPostprocessing = 0;
247247
};
@@ -382,7 +382,7 @@
382382
CODE_SIGN_STYLE = Automatic;
383383
CURRENT_PROJECT_VERSION = 4;
384384
DEFINES_MODULE = YES;
385-
DEVELOPMENT_TEAM = PF7PNM95XY;
385+
DEVELOPMENT_TEAM = J327NUG776;
386386
DYLIB_COMPATIBILITY_VERSION = 1;
387387
DYLIB_CURRENT_VERSION = 1;
388388
DYLIB_INSTALL_NAME_BASE = "@rpath";
@@ -410,7 +410,7 @@
410410
CODE_SIGN_STYLE = Automatic;
411411
CURRENT_PROJECT_VERSION = 4;
412412
DEFINES_MODULE = YES;
413-
DEVELOPMENT_TEAM = PF7PNM95XY;
413+
DEVELOPMENT_TEAM = J327NUG776;
414414
DYLIB_COMPATIBILITY_VERSION = 1;
415415
DYLIB_CURRENT_VERSION = 1;
416416
DYLIB_INSTALL_NAME_BASE = "@rpath";
@@ -436,7 +436,7 @@
436436
isa = XCBuildConfiguration;
437437
buildSettings = {
438438
CODE_SIGN_STYLE = Automatic;
439-
DEVELOPMENT_TEAM = PF7PNM95XY;
439+
DEVELOPMENT_TEAM = J327NUG776;
440440
INFOPLIST_FILE = "ogg-swiftUITests/Info.plist";
441441
LD_RUNPATH_SEARCH_PATHS = (
442442
"$(inherited)",
@@ -459,7 +459,7 @@
459459
isa = XCBuildConfiguration;
460460
buildSettings = {
461461
CODE_SIGN_STYLE = Automatic;
462-
DEVELOPMENT_TEAM = PF7PNM95XY;
462+
DEVELOPMENT_TEAM = J327NUG776;
463463
INFOPLIST_FILE = "ogg-swiftUITests/Info.plist";
464464
LD_RUNPATH_SEARCH_PATHS = (
465465
"$(inherited)",

ogg-swiftUITests/ogg_swiftUITests.swift renamed to ogg-swiftUITests/oggPlatformTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import XCTest
2727
import YbridOgg
2828

29-
class ogg_swiftUITests: XCTestCase {
29+
class oggPlatformTests: XCTestCase {
3030

3131
func testBundleInfo() throws {
3232
let oggBundleIdentifier = "io.ybrid.ogg-swift"

test.sh

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
#!/bin/sh
2+
3+
# MIT License
4+
5+
# Copyright (c) 2021 Ybrid®, a Hybrid Dynamic Live Audio Technology
6+
7+
# Permission is hereby granted, free of charge, to any person obtaining a copy
8+
# of this software and associated documentation files (the "Software"), to deal
9+
# in the Software without restriction, including without limitation the rights
10+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
# copies of the Software, and to permit persons to whom the Software is
12+
# furnished to do so, subject to the following conditions:
13+
14+
# The above copyright notice and this permission notice shall be included in all
15+
# copies or substantial portions of the Software.
16+
17+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
# SOFTWARE.
24+
25+
#
26+
# Test ogg frameworks on different platforms.
27+
#
28+
# Usage: no parameters, settings mostly defined in xcode xcodeworkspace
29+
#
30+
31+
scheme=ogg-swiftUITests
32+
target=ogg-swiftUITests
33+
testing="-only-testing $target/oggPlatformTests"
34+
35+
# clean up sould not be necessary
36+
#rm -rfd ./DerivedData
37+
38+
platform=iphonesimulator
39+
device="iPhone 11 Pro"
40+
echo "testing on $platform...."
41+
xcodebuild -scheme $scheme -destination "name=$device" -sdk $platform \
42+
test $testing
43+
44+
platform=macosx
45+
echo "testing on $platform..."
46+
xcodebuild -scheme $scheme -destination='My Mac' -sdk $platform \
47+
test $testing
48+
49+
# You may run tests on your own connected device
50+
platform=iphoneos
51+
device="Nacamar's iPad Mini" #"Nacamars iPad Air", "Nacamar's iPad Mini"
52+
echo "testing on $platform..."
53+
xcodebuild -scheme $scheme -destination "name=$device" -sdk $platform \
54+
test $testing

0 commit comments

Comments
 (0)