7 Commits

Author SHA1 Message Date
gem
0466c439dc no message 2025-02-14 16:22:11 +08:00
gem
bfb7cb514e no message 2025-02-12 15:02:10 +08:00
gem
1ba37a35a9 no message 2025-02-11 14:39:40 +08:00
gem
1a6a94a108 no message 2025-02-10 18:05:05 +08:00
gem
2edbea5309 no message 2025-02-10 15:43:14 +08:00
gem
724a1acb69 no message 2025-02-06 10:14:34 +08:00
gem
655a2fe70c no message 2025-01-22 11:35:49 +08:00
5 changed files with 18 additions and 9 deletions

View File

@@ -8,7 +8,7 @@
Pod::Spec.new do |s|
s.name = 'cocos_view_pod'
s.version = '0.1.4'
s.version = '0.1.13'
s.summary = 'A short description of cocos_view_pod.'
# This description is used to generate tags and improve search results.
@@ -28,13 +28,24 @@ TODO: Add long description of the pod here.
s.source = { :git => 'https://gitea.sdws.shop/xim/flutter_cocos_view_pod.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.ios.deployment_target = '14.5'
s.source_files = 'cocos_view_pod/Classes/**/*'
s.ios.deployment_target = '14'
#s.static_framework = true
s.source_files = 'cocos_view_pod/Classes/**/*.{h,m,mm}'
s.vendored_libraries = "cocos_view_pod/Libs/**/*.a"
s.frameworks = 'AudioToolbox', 'AVFoundation', 'AVKit', 'CoreVideo', 'CoreMotion', 'CFNetwork', 'CoreMedia', 'CoreText', 'CoreGraphics', 'GameController', 'JavaScriptCore', 'Metal', 'MetalKit', 'MetalPerformanceShaders', 'OpenAL', 'OpenGLES', 'QuartzCore', 'SystemConfiguration', 'Security', 'UIKit', 'WebKit'
s.library = 'sqlite3', "iconv", "z"
s.library = "z","sqlite3","iconv"
s.user_target_xcconfig = { 'ONLY_ACTIVE_ARCH' => 'YES'}
s.module_name = 'cocos_view_pod'
s.pod_target_xcconfig = {
'OTHER_LDFLAGS' => '-Wl,-ld_classic,-no_platform_version,-ObjC',
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64',
'ENABLE_BITCODE' => 'NO',
'CLANG_CXX_LIBRARY' => 'libc++',
'CODE_SIGNING_ALLOWED' => 'NO',
'CODE_SIGNING_REQUIRED' => 'NO',
}
# s.resource_bundles = {
# 'cocos_view_pod' => ['cocos_view_pod/Assets/*.png']
# }

View File

@@ -7,8 +7,6 @@
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "platform/ios/AppDelegateBridge.h"
@interface dcocos_bridge : NSObject
+ (dcocos_bridge *)instance;
@@ -24,5 +22,5 @@
- (float)getCocosPixelRatio;
+ (void)callS:(NSString *)funcName args:(NSString *)args;
@property(nonatomic, readonly) AppDelegateBridge *appDelegateBridge;
@end

Binary file not shown.