草庐IT

iOS 辅助功能 : Custom voice over text for bundle display name

iOS画外音无法正确读出我公司的名称。例如,它读出“dog”而不是“D.O.G.”。(不是我的真实公司名称,但你明白了)我们通过让应用程序在所有读出公司名称的地方读出“DOG”来解决这个问题。但是,旁白在应用程序图标上和应用程序完成启动后都错误地读出了bundle的显示名称。有没有办法让我的应用在应用启动后读出“DOG”而不是“dog”?我会强制应用程序在应用程序启动后不读出bundle显示名称,然后手动读出“DOG”。(我假设您不能为应用程序图标设置自定义画外音,但是知道我能不能的人会加分) 最佳答案 我认为您无法为VoiceOv

ios - 项目名为 "Foo does not contain a scheme named "Bar"bitrise.io

我只是在bitrise.io中配置了一个项目。但是xcode-build失败并出现错误:xcodebuild:error:Theprojectnamed"Foo"doesnotcontainaschemenamed"Bar".The"-list"optioncanbeusedtofindthenamesoftheschemesintheproject.我仔细检查了方案Bar确实存在于项目Foo 最佳答案 基于BryanMussial回答TherootcauseisthatthedefaultbehaviorofSchemesisto

ios - Xcode 无法找到 strip-frameworks.sh 目录

我最近将Xcode更新到版本7.1,其中包括Swift2.1。我顺利安装了Swift2.1。在尝试运行我的项目后,我意识到我需要获取最新版本的Realm,因为之前的版本不支持Swift2.1。我删除了旧框架并导入了Realm0.96.2。每当我运行时,我现在都会收到此错误:bash:/Users/userName/Library/Developer/Xcode/DerivedData/appName-ghiroqitgsbvfhdqxsscyokyoouz/Build/Products/Debug-iphoneos/appName.app/Frameworks/Realm.framew

ios - Xcode 4 : How to change ${EXECUTABLE_NAME} variable's value?

我想找到在xcode4.2中定义的${EXECUTABLE_NAME}全局变量在哪里 最佳答案 [你的目标]->[build设置]->[产品名称] 关于ios-Xcode4:Howtochange${EXECUTABLE_NAME}variable'svalue?,我们在StackOverflow上找到一个类似的问题: https://stackoverflow.com/questions/9528679/

ios - 缺少配置文件 :Apps must contain a provisioning profile in a file named embedded. mobileprovision

应用程序已经从xcode-9提交到AppStore,现在我必须更新新版本。但是现在xcode已更新,即xcode10。在验证过程中它显示“应用程序必须在名为embedded.mobileprovision..的文件中包含配置文件”。应用程序在模拟器上运行良好即使我已经下载了配置证书。 最佳答案 我试图清除配置文件,但没有任何帮助。从以前的XCode版本到这个版本的变化是构建系统。通过将您的构建系统改回旧系统,这对我来说已经解决了。您可以在文件>工作区设置(或项目设置)下切换构建系统,然后在构建系统下选择LegacyBuildSyst

ios - iOS 项目中的 Pods-resources.sh 权限被拒绝

我从客户那里得到了一个现有项目,我尝试使用XCode5.0在我的MAC中运行它但是我遇到了以下错误。我安装了CocoaPods但仍然无法正常工作。该项目在其他开发人员的机器上运行良好。我非常需要在我的机器上运行它。我错过了什么?非常感谢任何帮助。提前致谢。 最佳答案 您需要使脚本可执行。打开终端并执行此命令:chmoda+x"/Users/shovon0203/Desktop/MyWork/oDesk/momenTOGO/MomenTOGO_iPhone/Pods/Pods-resources.sh"

ios - 自动布局 : What creates constraints named UIView-Encapsulated-Layout-Width & Height?

我的布局约束在InterfaceBuilder中很好,但由于框架的某些部分应用了我真正不想要的固定高度和宽度约束,在运行时出现异常。它们为什么在那里,如何关闭它们?它们是记录列表中显示的最后两个约束:2014-04-2609:02:58.687BBCNews[32058:60b]Unabletosimultaneouslysatisfyconstraints.Probablyatleastoneoftheconstraintsinthefollowinglistisoneyoudon'twant.Trythis:(1)lookateachconstraintandtrytofigure

firebase - Flutter Firebase 身份验证 : How to display the user email and name in the Flutter Drawer

我已成功从FirebaseAuth检索到用户电子邮件和名称。但是我想在FlutterDrawer中显示这个姓名和电子邮件检索:Future_handleSignIn()async{finalGoogleSignInAccountgoogleUser=await_googleSignIn.signIn();finalGoogleSignInAuthenticationgoogleAuth=awaitgoogleUser.authentication;finalAuthCredentialcredential=GoogleAuthProvider.getCredential(accessT

dart - Flutter:使用没有 args 和 name 参数的 Intl.message

当我运行flutterpubpubrunintl_translation:extract_to_arb--output-dir=lib/l10nlib/localizations.dart时,生成器会跳过所有仅包含字符串的Intl.message文件,打印:SkippinginvalidIntl.messageinvocationreason:The'args'argumentforIntl.messagemustbespecifiedformessageswithparameters.Considerusingrewrite_intl_messages.dartfromlib/mai

dart - 当 Child Widget 调用 Push Named 时,Widget 正在重建

这是我的主屏幕小部件构建@overrideWidgetbuild(BuildContextcontext){print("Rebuiltrootwidget");switch(authStatus){caseAuthStatus.notSignedIn:returnChild1(auth:widget.auth,onSignedIn:_signedIn,);caseAuthStatus.signedIn:returnChild2(auth:widget.auth,onSignedOut:_signedOut,);}}returnnull;}这是从我的“Child2”小部件调用的一段代码