Skip to content

Commit

Permalink
feat(OpenAI.xconfig): set OpenAI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Build Pipeline committed Mar 29, 2023
1 parent dcccd1e commit 63e96f3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
6 changes: 4 additions & 2 deletions PlantUML/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>OPENAI_API_KEY</key>
<string>$(API_KEY)</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
Expand All @@ -28,8 +30,8 @@
</array>
<key>UTTypeDescription</key>
<string>plantuml diagram</string>
<key>UTTypeIdentifier</key>
<string>org.bsc.plantuml-text</string>
<key>UTTypeIdentifier</key>
<string>org.bsc.plantuml-text</string>
<key>UTTypeIconFiles</key>
<array/>
<key>UTTypeTagSpecification</key>
Expand Down
12 changes: 6 additions & 6 deletions PlantUMLApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
/* Begin PBXBuildFile section */
A01A6FBC29D3464500C3A1F6 /* PlantUMLFramework in Frameworks */ = {isa = PBXBuildFile; productRef = A01A6FBB29D3464500C3A1F6 /* PlantUMLFramework */; };
A0277C0B293D11D7005435AE /* AsyncImage+Cache.swift in Sources */ = {isa = PBXBuildFile; fileRef = A09A6DDA293D0E5E000856ED /* AsyncImage+Cache.swift */; };
A038DB5C29D452880032E312 /* OpenAI.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = A038DB5B29D452880032E312 /* OpenAI.xcconfig */; };
A047206F29549ACC007E061F /* SwiftUI+Share.swift in Sources */ = {isa = PBXBuildFile; fileRef = A047206E29549ACC007E061F /* SwiftUI+Share.swift */; };
A047207029549ACC007E061F /* SwiftUI+Share.swift in Sources */ = {isa = PBXBuildFile; fileRef = A047206E29549ACC007E061F /* SwiftUI+Share.swift */; };
A053524B29D33CA70023F041 /* OpenAI.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = A053524A29D33CA70023F041 /* OpenAI.xcconfig */; };
A08AA78429561170004DE329 /* View+UIImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = A08AA78329561170004DE329 /* View+UIImage.swift */; };
A0943A6F2944A44900342426 /* ScaleToFit+ToggleStyle.swift in Sources */ = {isa = PBXBuildFile; fileRef = A0943A6E2944A44900342426 /* ScaleToFit+ToggleStyle.swift */; };
A0943A702944A44900342426 /* ScaleToFit+ToggleStyle.swift in Sources */ = {isa = PBXBuildFile; fileRef = A0943A6E2944A44900342426 /* ScaleToFit+ToggleStyle.swift */; };
Expand Down Expand Up @@ -56,8 +56,8 @@
/* Begin PBXFileReference section */
A01552A228CF47DF00F2B8A1 /* PlantUMLFramework */ = {isa = PBXFileReference; lastKnownFileType = wrapper; path = PlantUMLFramework; sourceTree = "<group>"; };
A01907EF2951CD5C0059CCBE /* privacy_policy.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = privacy_policy.md; sourceTree = "<group>"; };
A038DB5B29D452880032E312 /* OpenAI.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = OpenAI.xcconfig; sourceTree = "<group>"; };
A047206E29549ACC007E061F /* SwiftUI+Share.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "SwiftUI+Share.swift"; sourceTree = "<group>"; };
A053524A29D33CA70023F041 /* OpenAI.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = OpenAI.xcconfig; sourceTree = "<group>"; };
A08AA78329561170004DE329 /* View+UIImage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "View+UIImage.swift"; sourceTree = "<group>"; };
A0943A6D29448A1700342426 /* AppStore.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = AppStore.xcassets; sourceTree = "<group>"; };
A0943A6E2944A44900342426 /* ScaleToFit+ToggleStyle.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "ScaleToFit+ToggleStyle.swift"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -121,7 +121,7 @@
A0D3C63D28984A0E000838D7 = {
isa = PBXGroup;
children = (
A053524A29D33CA70023F041 /* OpenAI.xcconfig */,
A038DB5B29D452880032E312 /* OpenAI.xcconfig */,
A01907EF2951CD5C0059CCBE /* privacy_policy.md */,
A0943A6D29448A1700342426 /* AppStore.xcassets */,
A01552A228CF47DF00F2B8A1 /* PlantUMLFramework */,
Expand Down Expand Up @@ -305,9 +305,9 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
A053524B29D33CA70023F041 /* OpenAI.xcconfig in Resources */,
A0D3C65328984A10000838D7 /* Preview Assets.xcassets in Resources */,
A0BFBA9A290D551F008340E3 /* Localizable.strings in Resources */,
A038DB5C29D452880032E312 /* OpenAI.xcconfig in Resources */,
A0D3C65028984A10000838D7 /* Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -512,7 +512,7 @@
};
A0D3C66E28984A11000838D7 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = A053524A29D33CA70023F041 /* OpenAI.xcconfig */;
baseConfigurationReference = A038DB5B29D452880032E312 /* OpenAI.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
Expand Down Expand Up @@ -549,7 +549,7 @@
};
A0D3C66F28984A11000838D7 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = A053524A29D33CA70023F041 /* OpenAI.xcconfig */;
baseConfigurationReference = A038DB5B29D452880032E312 /* OpenAI.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
Expand Down

0 comments on commit 63e96f3

Please sign in to comment.