Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ethan
/
appframe
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit c1450cd9
authored
2025-11-24 18:10:14 +0800
by
Administrator
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ios的权限声明
1 parent
c500d097
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
ios/Podfile
ios/Runner/Info.plist
ios/Podfile
View file @
c1450cd
...
@@ -67,6 +67,15 @@ post_install do |installer|
...
@@ -67,6 +67,15 @@ post_install do |installer|
config
.
build_settings
[
'EXPANDED_CODE_SIGN_IDENTITY'
]
=
""
config
.
build_settings
[
'EXPANDED_CODE_SIGN_IDENTITY'
]
=
""
config
.
build_settings
[
'CODE_SIGNING_REQUIRED'
]
=
"NO"
config
.
build_settings
[
'CODE_SIGNING_REQUIRED'
]
=
"NO"
config
.
build_settings
[
'CODE_SIGNING_ALLOWED'
]
=
"NO"
config
.
build_settings
[
'CODE_SIGNING_ALLOWED'
]
=
"NO"
config
.
build_settings
[
'GCC_PREPROCESSOR_DEFINITIONS'
]
||=
[
'$(inherited)'
]
config
.
build_settings
[
'GCC_PREPROCESSOR_DEFINITIONS'
]
<<
'PERMISSION_CAMERA=1'
config
.
build_settings
[
'GCC_PREPROCESSOR_DEFINITIONS'
]
<<
'PERMISSION_PHOTOS=1'
config
.
build_settings
[
'GCC_PREPROCESSOR_DEFINITIONS'
]
<<
'PERMISSION_MICROPHONE=1'
config
.
build_settings
[
'GCC_PREPROCESSOR_DEFINITIONS'
]
<<
'PERMISSION_LOCATION=1'
config
.
build_settings
[
'GCC_PREPROCESSOR_DEFINITIONS'
]
<<
'PERMISSION_BLUETOOTH=1'
config
.
build_settings
[
'GCC_PREPROCESSOR_DEFINITIONS'
]
<<
'PERMISSION_LOCAL_NETWORK=1'
end
end
end
end
end
end
ios/Runner/Info.plist
View file @
c1450cd
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<key>
CFBundleDevelopmentRegion
</key>
<key>
CFBundleDevelopmentRegion
</key>
<string>
$(DEVELOPMENT_LANGUAGE)
</string>
<string>
$(DEVELOPMENT_LANGUAGE)
</string>
<key>
CFBundleDisplayName
</key>
<key>
CFBundleDisplayName
</key>
<string>
Appframe
</string>
<string>
班小二App
</string>
<key>
CFBundleExecutable
</key>
<key>
CFBundleExecutable
</key>
<string>
$(EXECUTABLE_NAME)
</string>
<string>
$(EXECUTABLE_NAME)
</string>
<key>
CFBundleIdentifier
</key>
<key>
CFBundleIdentifier
</key>
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<key>
CFBundleInfoDictionaryVersion
</key>
<key>
CFBundleInfoDictionaryVersion
</key>
<string>
6.0
</string>
<string>
6.0
</string>
<key>
CFBundleName
</key>
<key>
CFBundleName
</key>
<string>
appframe
</string>
<string>
banxiaoer
</string>
<key>
CFBundlePackageType
</key>
<key>
CFBundlePackageType
</key>
<string>
APPL
</string>
<string>
APPL
</string>
<key>
CFBundleShortVersionString
</key>
<key>
CFBundleShortVersionString
</key>
...
@@ -90,7 +90,7 @@
...
@@ -90,7 +90,7 @@
<key>
io.flutter.embedded_views_preview
</key>
<key>
io.flutter.embedded_views_preview
</key>
<true/>
<true/>
<key>
NSLocalNetworkUsageDescription
</key>
<key>
NSLocalNetworkUsageDescription
</key>
<string>
用于Flutter开发调试
</string>
<string>
此应用需要访问本地网络以发现和连接智能设备
</string>
<key>
NSBonjourServices
</key>
<key>
NSBonjourServices
</key>
<array>
<array>
<string>
_dartobservatory._tcp
</string>
<string>
_dartobservatory._tcp
</string>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment