mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 01:06:00 +08:00
[ios] Fix up repo URLs in podspec files
This commit is contained in:
parent
0d5c3e3b18
commit
5dc0d2b665
@ -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"'
|
||||
}
|
||||
|
||||
|
||||
@ -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 = {
|
||||
|
||||
@ -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 = {
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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")
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user