我有一个大问题.我有一个带有iOS 6.1.2的iPhone和最新版本的Xcode - 4.6.1.当我尝试在该设备上测试我的应用时,Xcode说
"没有配置的iOS设备可用于兼容的iOS版本.将iOS设备与最新版本的iOS连接以运行您的应用程序或选择iOS模拟器作为目标."
问题在哪里以及如何解决?我尝试进入管理器,右键单击设备并将设备添加到配置文件,但没有结果.提前致谢!
我有一个使用AdHoc分发配置文件签名的*.ipa文件.此外,我有Xcode,应用程序商店配置文件,但没有此应用程序的源代码.有没有办法让我的app应用程序商店辞职(我知道,我可以辞职使用,我是这样做的,我做过它,但使用Enterprice构建)并将其提交给AppStore?
我正在尝试使用 SaltStack 配置我的 Vagrant 驱动的 VM。我想安装和配置 PostgreSQL。这是我的状态:
postgresql-installation:
# adding repo, installing package, starting service here
postgresql-database-setup:
- postgres_user.present:
- name: {{ pillar['pg_db_user'] }}
- password: {{ pillar['pg_db_password'] }}
- require:
- service: postgresql
- postgres_database.present:
- name: {{ pillar['pg_db_name'] }}
- encoding: {{ pillar['pg_db_encoding'] }}
- lc_ctype: {{ pillar['pg_db_ctype'] }}
- lc_collate: {{ pillar['pg_db_collate'] }}
- template: {{ pillar['pg_db_template'] }}
- owner: {{ pillar['pg_db_user'] }}
- require:
- postgres_user: postgresql-database-setup
Run Code Online (Sandbox Code Playgroud)
postgres-installation工作完美,但postgres-database-setup让我头疼。运行配置时,Salt 会抛出此错误:
Data failed to compile: …Run Code Online (Sandbox Code Playgroud) 我在Visual Studio中创建了一个功能,使用WSPBuilder构建.wsp文件,该文件包含一些需要复制到_layouts文件夹的aspx文件.我在项目中创建了12个hive结构,将所有xml文件(例如feature.xml)复制到右侧子文件夹,将aspx文件放在正确的位置并构建.wsp文件.
当我部署并激活该功能时,aspx文件被复制到_layouts文件夹,一切都很顺利.然后,没有任何理由,SharePoint做到了它是最好的,并停止工作.现在,每当我部署该功能并激活它时,我注意到没有任何aspx文件被复制到_layouts文件夹.我在日志文件中看不到任何指向问题的消息.
这是我的feature.xml文件:
<?xml version="1.0" encoding="utf-8"?>
<Feature Id="3263C427-F0FA-4cad-8C7F-459F31E36D34"
Title="Test"
Description="Test"
Version="1.0.0.0"
Hidden="FALSE"
Scope="Web"
DefaultResourceFile="core"
xmlns="http://schemas.microsoft.com/sharepoint/">
<ElementManifests>
<ElementManifest Location="CustomActions.xml" />
<ElementManifest Location="module.xml" />
</ElementManifests>
</Feature>
Run Code Online (Sandbox Code Playgroud)
CustomActions.xml包含在站点的列表设置页面上创建的一些链接,以便处理正常.问题是'module.xml':
<?xml version="1.0" encoding="utf-8" ?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<Module Name="Page1" Url="_layouts">
<File Url="Page1.aspx" Type="Ghostable" />
</Module>
<Module Name="Page2" Url="_layouts">
<File Url="Page2.aspx" Type="Ghostable" />
</Module>
</Elements>
Run Code Online (Sandbox Code Playgroud)
我无法发现我在这里做错了什么 - 事实上,整个部署已经与上述文件一起正常工作,所以我只是感到困惑,为什么它停止工作.我通常会重新跟踪我的步骤并思考我是否做了一些事情来导致这种情况,但我没有.
如果有人以前曾经历过这种情况,可以给我一些提示,那就太棒了.在那之前,我会继续努力让这个工作,并想知道为什么,对于这样一个受欢迎的平台,SharePoint比一个头皮屑的少年更加有趣.
干杯.雅.
我有一个有效的开发人员资料.我可以在iPhone上运行和调试我的应用程序.但是,当我尝试存档和共享它时,在管理器中我只能看到验证和分发.我该怎么办?如果我必须通过撤消和创建配置文件来更改我的配置文件,我该怎么做才能正确完成.因为我已经尝试创建一个新的配置文件来撤销旧配置文件.请帮帮我.
我觉得好像我向前迈出了一步,自从我上一个关于使用厨师为流浪汉控制的Ubuntu基本盒配置PHP 5.4的问题后退了两步.我已经放弃尝试使用apt来提取正确版本的PHP,并决定尝试使用源代码构建.
我的食谱
# Name of the role should match the name of the file
name "webserver"
default_attributes(
"build_essential" => {
"compiletime" => true
}
)
override_attributes(
"mysql" => {
"server_root_password" => 'reverse',
"server_repl_password" => 'reverse',
"server_debian_password" => 'reverse'
},
"php" => {
"install_method" => "source",
"php54" => true
}
)
# Run list function we mentioned earlier
run_list(
"recipe[apt]",
"recipe[build-essential]",
"recipe[xml]",
"recipe[chef-php54]",
"recipe[openssl]",
"recipe[apache2]",
"recipe[apache2::vhosts]",
"recipe[apache2::mod_rewrite]",
"recipe[apache2::mod_ssl]",
"recipe[mysql]",
"recipe[mysql::server]",
"recipe[php]",
"recipe[php::module_gd]",
"recipe[php::module_curl]",
"recipe[php::module_mysql]",
"recipe[php::module_apc]",
"recipe[chef-php-extra::default]", …Run Code Online (Sandbox Code Playgroud) 我有一个从 Vagrantfile 调用的 ansible playbook:
config.vm.provision "ansible" do |ansible|
ansible.playbook = "provision/playbook.yml"
ansible.sudo = true
ansible.verbose = "vvvv"
ansible.limit = "all"
# ansible.inventory_path = "provision/hosts"
end
Run Code Online (Sandbox Code Playgroud)
这是剧本:
---
- hosts: all
roles:
- common
Run Code Online (Sandbox Code Playgroud)
我的目录结构是:
.
??? provision
? ??? hosts
? ??? playbook.yml
? ??? roles
? ??? common
? ??? install_conda.yml
? ??? reqs.yml
??? ubuntu-xenial-16.04-cloudimg-console.log
??? Vagrantfile
Run Code Online (Sandbox Code Playgroud)
我的问题是当我运行vagrant up它不运行 install_conda.yml 和 reqs.yml
相关输出:
ansible/.vagrant/provisioners/ansible/inventory --sudo -vvvv provision/playbook.yml
Using /home/lowks/.ansible.cfg as config file
Loaded callback default …Run Code Online (Sandbox Code Playgroud) provisioning ×7
ios ×2
vagrant ×2
ansible ×1
chef-infra ×1
code-signing ×1
device ×1
iphone ×1
php ×1
postgresql ×1
profile ×1
salt-stack ×1
share ×1
sharepoint ×1
version ×1
xcode ×1