Browse Source

[ios] Fix up repo URLs in podspec files

Mario Zechner 1 năm trước cách đây
mục cha
commit
5dc0d2b665

+ 3 - 3
Spine.podspec

@@ -13,11 +13,11 @@ Spine runtimes for iOS.
   s.author           = { "Esoteric Software LLC  " => "https://esotericsoftware.com" }
   s.license          = { :file => 'LICENSE' }
 
-  s.source           = { :git => 'https://github.com/denrase/spine-runtimes.git', :branch => 'cocoapods' }
+  s.source           = { :git => 'https://github.com/esotericsoftware/spine-runtimes.git', :branch => 'cocoapods' }
   s.source_files     = 'spine-ios/Sources/Spine/**/*.{swift,metal}'
   s.platform         = :ios, '13.0'
-  
-  s.xcconfig = { 
+
+  s.xcconfig = {
     'HEADER_SEARCH_PATHS' => '"$(PODS_ROOT)/SpineCppLite/spine-cpp/spine-cpp/include" "$(PODS_ROOT)/SpineCppLite/spine-cpp/spine-cpp-lite"'
   }
 

+ 1 - 1
SpineCppLite.podspec

@@ -14,7 +14,7 @@ Spine runtimes for iOS.
   s.license             = { :file => 'LICENSE' }
   s.platform            = :ios, '13.0'
 
-  s.source              = { :git => 'https://github.com/denrase/spine-runtimes.git', :branch => 'cocoapods' }
+  s.source              = { :git => 'https://github.com/esotericsoftware/spine-runtimes.git', :branch => 'cocoapods' }
   s.source_files        =  'spine-cpp/spine-cpp/**/*.{h,cpp}', 'spine-cpp/spine-cpp-lite/*.{h,cpp}'
   s.module_map          = 'spine-cpp/spine-cpp-lite/module.modulemap'
   s.pod_target_xcconfig = {

+ 1 - 1
SpineShadersStructs.podspec

@@ -14,7 +14,7 @@ Metal shaders structs for spine.
   s.license             = { :file => 'LICENSE' }
   s.platform            = :ios, '13.0'
 
-  s.source              = { :git => 'https://github.com/denrase/spine-runtimes.git', :branch => 'cocoapods' }
+  s.source              = { :git => 'https://github.com/esotericsoftware/spine-runtimes.git', :branch => 'cocoapods' }
   s.source_files        = 'spine-ios/Sources/SpineShadersStructs/*.{h,cpp}'
 
   s.pod_target_xcconfig = {

+ 3 - 3
spine-ios/Example - Cocoapods/Podfile

@@ -5,7 +5,7 @@ target 'Spine iOS Example' do
   # Comment the next line if you don't want to use dynamic frameworks
   use_frameworks!
 
-  pod 'Spine', :podspec => 'https://raw.githubusercontent.com/denrase/spine-runtimes/cocoapods/Spine.podspec'
-  pod 'SpineCppLite', :podspec => 'https://raw.githubusercontent.com/denrase/spine-runtimes/cocoapods/SpineCppLite.podspec'
-  pod 'SpineShadersStructs', :podspec => 'https://raw.githubusercontent.com/denrase/spine-runtimes/cocoapods/SpineShadersStructs.podspec'
+  pod 'Spine', :podspec => 'https://raw.githubusercontent.com/EsotericSoftware/spine-runtimes/4.2/Spine.podspec'
+  pod 'SpineCppLite', :podspec => 'https://raw.githubusercontent.com/EsotericSoftware/spine-runtimes/4.2/SpineCppLite.podspec'
+  pod 'SpineShadersStructs', :podspec => 'https://raw.githubusercontent.com/EsotericSoftware/spine-runtimes/4.2/SpineShadersStructs.podspec'
 end

+ 4 - 4
spine-ios/Example - Cocoapods/Spine iOS Example/SimpleAnimation.swift

@@ -2,7 +2,7 @@ import SwiftUI
 import Spine
 
 struct SimpleAnimation: View {
-    
+
     @StateObject
     var controller = SpineController(
         onInitialized: { controller in
@@ -13,13 +13,13 @@ struct SimpleAnimation: View {
             )
         }
     )
-    
+
     var body: some View {
         SpineView(
             from: .bundle(atlasFileName: "spineboy.atlas", skeletonFileName: "spineboy-pro.skel"),
 //            from: .http(
-//                atlasURL: URL(string: "https://github.com/denrase/spine-runtimes/raw/spine-ios/spine-ios/Example/Spine%20iOS%20Example/Assets/spineboy/spineboy.atlas")!,
-//                skeletonURL:  URL(string: "https://github.com/denrase/spine-runtimes/raw/spine-ios/spine-ios/Example/Spine%20iOS%20Example/Assets/spineboy/spineboy-pro.skel")!
+//                atlasURL: URL(string: "https://github.com/esotericsoftware/spine-runtimes/raw/spine-ios/spine-ios/Example/Spine%20iOS%20Example/Assets/spineboy/spineboy.atlas")!,
+//                skeletonURL:  URL(string: "https://github.com/esotericsoftware/spine-runtimes/raw/spine-ios/spine-ios/Example/Spine%20iOS%20Example/Assets/spineboy/spineboy-pro.skel")!
 //            ),
             controller: controller,
             mode: .fit,

+ 4 - 4
spine-ios/Example/Spine iOS Example/PlayPauseAnimation.swift

@@ -2,7 +2,7 @@ import SwiftUI
 import Spine
 
 struct PlayPauseAnimation: View {
-    
+
     @StateObject
     var controller = SpineController(
         onInitialized: { controller in
@@ -13,13 +13,13 @@ struct PlayPauseAnimation: View {
             )
         }
     )
-    
+
     var body: some View {
         SpineView(
             from: .bundle(atlasFileName: "dragon.atlas", skeletonFileName: "dragon-ess.skel"),
 //            from: .http(
-//                atlasURL: URL(string: "https://github.com/denrase/spine-runtimes/raw/spine-ios/spine-ios/Example/Spine%20iOS%20Example/Assets/dragon/dragon.atlas")!,
-//                skeletonURL:  URL(string: "https://github.com/denrase/spine-runtimes/raw/spine-ios/spine-ios/Example/Spine%20iOS%20Example/Assets/dragon/dragon-ess.skel")!
+//                atlasURL: URL(string: "https://github.com/esotericsoftware/spine-runtimes/raw/spine-ios/spine-ios/Example/Spine%20iOS%20Example/Assets/dragon/dragon.atlas")!,
+//                skeletonURL:  URL(string: "https://github.com/esotericsoftware/spine-runtimes/raw/spine-ios/spine-ios/Example/Spine%20iOS%20Example/Assets/dragon/dragon-ess.skel")!
 //            ),
             controller: controller,
             boundsProvider: SkinAndAnimationBounds(animation: "flying")

+ 4 - 4
spine-ios/Example/Spine iOS Example/SimpleAnimation.swift

@@ -2,7 +2,7 @@ import SwiftUI
 import Spine
 
 struct SimpleAnimation: View {
-    
+
     @StateObject
     var controller = SpineController(
         onInitialized: { controller in
@@ -13,13 +13,13 @@ struct SimpleAnimation: View {
             )
         }
     )
-    
+
     var body: some View {
         SpineView(
             from: .bundle(atlasFileName: "spineboy.atlas", skeletonFileName: "spineboy-pro.skel"),
 //            from: .http(
-//                atlasURL: URL(string: "https://github.com/denrase/spine-runtimes/raw/spine-ios/spine-ios/Example/Spine%20iOS%20Example/Assets/spineboy/spineboy.atlas")!,
-//                skeletonURL:  URL(string: "https://github.com/denrase/spine-runtimes/raw/spine-ios/spine-ios/Example/Spine%20iOS%20Example/Assets/spineboy/spineboy-pro.skel")!
+//                atlasURL: URL(string: "https://github.com/esotericsoftware/spine-runtimes/raw/spine-ios/spine-ios/Example/Spine%20iOS%20Example/Assets/spineboy/spineboy.atlas")!,
+//                skeletonURL:  URL(string: "https://github.com/esotericsoftware/spine-runtimes/raw/spine-ios/spine-ios/Example/Spine%20iOS%20Example/Assets/spineboy/spineboy-pro.skel")!
 //            ),
             controller: controller,
             mode: .fit,