diff --git a/Native/MBoxWorkspace.podspec b/Native/MBoxWorkspace.podspec index 08646fe..5758b06 100644 --- a/Native/MBoxWorkspace.podspec +++ b/Native/MBoxWorkspace.podspec @@ -22,7 +22,7 @@ Pod::Spec.new do |spec| spec.default_subspec = 'Default' - spec.subspec 'Default' do |ss| + spec.subspec 'Core' do |ss| ss.source_files = "#{name}/MBWorkspaceCore/*.{h,m,swift}", "#{name}/MBWorkspaceCore/**/*.{h,m,swift}" ss.dependency "MBoxCore" ss.dependency "MBoxGit" diff --git a/Native/MBoxWorkspace.xcodeproj/project.pbxproj b/Native/MBoxWorkspace.xcodeproj/project.pbxproj index 55449f7..bb1f9a7 100644 --- a/Native/MBoxWorkspace.xcodeproj/project.pbxproj +++ b/Native/MBoxWorkspace.xcodeproj/project.pbxproj @@ -487,7 +487,6 @@ ABFD983F22A12045006A5629 /* Headers */, ABFD984022A12045006A5629 /* Sources */, ABFD984122A12045006A5629 /* Frameworks */, - ); buildRules = ( ); diff --git a/Native/MBoxWorkspaceCore/Model/MBConfig.swift b/Native/MBoxWorkspaceCore/Model/MBConfig.swift index e5394d8..1658fc8 100644 --- a/Native/MBoxWorkspaceCore/Model/MBConfig.swift +++ b/Native/MBoxWorkspaceCore/Model/MBConfig.swift @@ -58,6 +58,7 @@ public class MBConfig: MBCodableObject, MBJSONProtocol { } if name == nil || name == "" { let feature = Feature(name: "") + feature.config = self self.features[""] = feature return feature }